I receive bulk additions of DNS records on a regularly occasion. I am tired of manually entering them one by one. I have semi figured out a way to add records through the command line using a TXT file. The only problem is Reverse entries are not appearing. Unfortunately I need reverse entries for Unix lookups. Here is the command I am using:
for /f "tokens=1-2" %i in (C:\dnsnew.txt) do dnscmd Servername /RecordAdd domain %i A %j
Test file has 2 rows. Example is:
Servername 192.168.2.1
Servername2 192.168.2.2
I am not sure why the reverse entry is being ignored.
Thanks in advance.
ASKER