troubleshooting Question

DNS Bulk Add Records

Avatar of Darrell Kirby
Darrell KirbyFlag for United States of America asked on
ProgrammingMicrosoft Legacy OSMicrosoft Server OS
2 Comments1 Solution673 ViewsLast Modified:
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:


I am not sure why the reverse entry is being ignored.

Thanks in advance.
Efstratios Arvanitidis
ICT Manager - Fleet Division

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros