Sunday, May 27, 2012

Adding DNS records in bulk from command line

DNS records can be added to Windows DNS server in bulk using below commands and batch files.

dnscmd /RecordAdd testlab.local SERVER1 A 192.168.1.10
dnscmd /RecordAdd 1.168.192.in-addr.arpa 10 PTR SERVER1.testlab.local

No comments: