Avatar of Darrell Kirby
Darrell KirbyFlag 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:

Servername  192.168.2.1
Servername2 192.168.2.2

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
ASKER CERTIFIED SOLUTION
Avatar of Efstratios Arvanitidis
Efstratios Arvanitidis
Flag of Greece image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Darrell Kirby

ASKER

Good answer. It will take a little work to create this.
Microsoft Server OS
Microsoft Server OS

The Microsoft Server topic includes all of the legacy versions of the operating system, including the Windows NT 3.1, NT 3.5, NT 4.0 and Windows 2000 and Windows Home Server versions.

59K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo