Avatar of Darrell Kirby
Darrell Kirby
Flag for United States of America asked on

DNS Bulk Add Records

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.
Microsoft Server OSMicrosoft Legacy OSProgramming

Avatar of undefined
Last Comment
Darrell Kirby

8/22/2022 - Mon
Efstratios Arvanitidis

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Darrell Kirby

Good answer. It will take a little work to create this.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck