Fix: SRV-03 SOA rename
This commit is contained in:
parent
78f737b014
commit
b750542223
@ -97,7 +97,7 @@ $soanew = $soa.Clone()
|
|||||||
$soanew.RecordData.PrimaryServer = "srv-03.asrbd.dev"
|
$soanew.RecordData.PrimaryServer = "srv-03.asrbd.dev"
|
||||||
$soanew.RecordData.ExpireLimit = (New-TimeSpan -Days 4)
|
$soanew.RecordData.ExpireLimit = (New-TimeSpan -Days 4)
|
||||||
|
|
||||||
Set-DnsServerResourceRecord -ZoneName as -NewInputObject $soanew -OldInputObject $soa
|
Set-DnsServerResourceRecord -ZoneName asrbd.dev -NewInputObject $soanew -OldInputObject $soa
|
||||||
|
|
||||||
Set-DnsServerPrimaryZone -ComputerName SRV-01 -Name asrbd.dev -SecureSecondaries "TransferToSecureServers" -SecondaryServers "192.168.128.1"
|
Set-DnsServerPrimaryZone -ComputerName SRV-01 -Name asrbd.dev -SecureSecondaries "TransferToSecureServers" -SecondaryServers "192.168.128.1"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user