Friday, February 13, 2009

ZoneResetSecondaries using dnscmd

To set secondary server ip addresses with zone transfer options, do the following.
1. Assume the dns server is "dnsserver", zone name is "myrootdns.com" seconday server ip address is "192.168.1.200"

2. To allow zone transfered to only to the list of secondary servers, run
dnscmd dnsserver /zoneresetsecondaries myrootdns.com /securelist 192.168.1.200.



3. To allow zone trasfers to all secondaries, run

dnscmd dnsserver /zoneresetsecondaries myrootdns.com /nonsecure

4. To disallow zone transgers to secondaries, run

dnscmd dnsserver /zoneresetsecondaries /noxfr

5. To notify secondaries about the change in secondary settings, run

dnscmd dnsserver /zoneresetsecondaries /noxfr /notify

6. To disllow notifieing, run

dnscmd dnsserver /zoneresetsecondaries /noxfr /nonotify

7. To allow notify only to the list of ip addresses, run

dnscmd dnsserver /zoneresetsecondaries /noxfr /notifylist 192.168.1.200

0 comments:

Design by infinityskins.blogspot