DNS import

  • Thread starter Thread starter Patrick Bemis
  • Start date Start date
P

Patrick Bemis

Is there an easy way to import 400 records into an AD Integrated Zone?

Thanks,

Patrick
 
I think you can use WMI and script them in.

Set objWMIService = GetObject("winmgmts:\\" & strComputer &
"\root\MicrosoftDNS")
Set objItem = objWMIService.Get("MicrosoftDNS_Zone")

I think you get better support in microsoft.public.windows.server.scripting
newsgroup.
 
I did it a dirty way. Change it to non-integrated. Stop DNS. Find the file.
Paste all the new records in. Start DNS, and switch back to AD integrated.
Don't know if that is supported, but it worked.

-Matthew
 
In
Matthew Kitchin said:
I did it a dirty way. Change it to non-integrated. Stop DNS. Find the
file. Paste all the new records in. Start DNS, and switch back to AD
integrated. Don't know if that is supported, but it worked.

-Matthew


If it works, and the zone are there, then it worked!
:-)

--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS IS" with no warranties.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 
Curious, but do the zone files get updated when stopping the DNS service
(or periodically) or do you still need to manually refresh them? If you
do need to do it manually, I hope the guy did that first.
 
In
David Adner said:
Curious, but do the zone files get updated when stopping the DNS
service (or periodically) or do you still need to manually refresh
them? If you
do need to do it manually, I hope the guy did that first.

Good question. Never thought of that. I usually just refresh it to make
sure. I would assume they're updated at least once you see the zones on the
screen.

Hate to see all those zones not get updated to the text files!


--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS IS" with no warranties.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 
....or even if they're AD Integrated!

--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS IS" with no warranties.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 
This was a one time thing I did 2 years ago. I had to get a few thousand
records on a Linux machine that was broken. DNS wouldn't function on it, so
I couldn't do a zone transfer. The format of the files matched, so I grabbed
the meat of it and pasted it in. It worked for me.

-Matthew
 
In
Patrick Bemis said:
Guys - Thanks for all of the great answers/ideas.

Patrick


No prob...
:-)

--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS IS" with no warranties.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 
Back
Top