Fix: Zone Transfer. Need test
This commit is contained in:
parent
dc460f861a
commit
f942299aeb
@ -151,7 +151,7 @@ Set-DnsServerResourceRecord -ZoneName asrc.local -NewInputObject $soanew -OldInp
|
|||||||
|
|
||||||
#Set zone transfer
|
#Set zone transfer
|
||||||
|
|
||||||
Set-DnsServerPrimaryZone -ComputerName SRV-01 -Name asrc.local -SecureSecondaries "TransferToSecureServers" -SecondaryServers "192.168.128.1"
|
Set-DnsServerPrimaryZone -ComputerName SRV-01 -Name asrc.local -SecureSecondaries "TransferToZoneNameServer" -SecondaryServers "192.168.128.1"
|
||||||
|
|
||||||
#Create reverse lookup Zone
|
#Create reverse lookup Zone
|
||||||
Add-DnsServerPrimaryZone -NetworkID "192.168.0.0/16" -Zonefile "168.192.in-addr.arpa.dns"
|
Add-DnsServerPrimaryZone -NetworkID "192.168.0.0/16" -Zonefile "168.192.in-addr.arpa.dns"
|
||||||
|
@ -80,7 +80,7 @@ Install-WindowsFeature -Name DNS -IncludeManagementTools -includeallsubfeature
|
|||||||
|
|
||||||
Add-DnsServerPrimaryZone -ResponsiblePerson "bol@loc.ks" -DynamicUpdate None -ZoneFile asrc.dev.dns -Name asrc.dev
|
Add-DnsServerPrimaryZone -ResponsiblePerson "bol@loc.ks" -DynamicUpdate None -ZoneFile asrc.dev.dns -Name asrc.dev
|
||||||
|
|
||||||
Set-DnsServerPrimaryZone -ComputerName SRV-03 -Name asrc.dev -SecureSecondaries "TransferToSecureServers"
|
Set-DnsServerPrimaryZone -ComputerName SRV-03 -Name asrc.dev -SecureSecondaries "NoTransfer"
|
||||||
|
|
||||||
$ns = Get-DnsServerResourceRecord -ZoneName asrc.dev -RRType NS
|
$ns = Get-DnsServerResourceRecord -ZoneName asrc.dev -RRType NS
|
||||||
|
|
||||||
@ -103,7 +103,7 @@ Set-DnsServerResourceRecord -ZoneName asrc.dev -NewInputObject $soanew -OldInput
|
|||||||
|
|
||||||
Add-DnsServerPrimaryZone -ResponsiblePerson "bol@loc.ks" -DynamicUpdate None -ZoneFile dev.asrc.local.dns -Name dev.asrc.local
|
Add-DnsServerPrimaryZone -ResponsiblePerson "bol@loc.ks" -DynamicUpdate None -ZoneFile dev.asrc.local.dns -Name dev.asrc.local
|
||||||
|
|
||||||
Set-DnsServerPrimaryZone -ComputerName SRV-03 -Name dev.asrc.local -SecureSecondaries "TransferToSecureServers"
|
Set-DnsServerPrimaryZone -ComputerName SRV-03 -Name dev.asrc.local -SecureSecondaries "NoTransfer"
|
||||||
|
|
||||||
$ns = Get-DnsServerResourceRecord -ZoneName dev.asrc.local -RRType NS
|
$ns = Get-DnsServerResourceRecord -ZoneName dev.asrc.local -RRType NS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user