NETSH - Reverse Lookup Zone
-
Monday, February 20, 2012 3:33 PM
I can't seem to find a NETSH command to create reverse lookup zones. Is there a command to create reverse lookup zones?
Thanks,
mikedeatworld
windows...fun
All Replies
-
Monday, February 20, 2012 3:43 PM
You can use dnscmd to manage DNS Server from the command line.
For more info, type
dnscmd /?
Grant Ward, a.k.a. Bigteddy
What's new in Powershell 3.0 (Technet Wiki)
- Edited by BigteddyMicrosoft Community Contributor Monday, February 20, 2012 4:19 PM
- Proposed As Answer by jrvMicrosoft Community Contributor Monday, February 20, 2012 6:07 PM
- Marked As Answer by Boe ProxModerator Wednesday, February 22, 2012 2:17 AM
-
Monday, February 20, 2012 3:57 PM
There is also two vbscript that allow you to create primary zones, perhaps you can rebuild them to make reverse lookup zones as well:
http://gallery.technet.microsoft.com/scriptcenter/8fc175e7-060a-40d9-9a0c-e014efb287b9
http://gallery.technet.microsoft.com/scriptcenter/6a5f9eb8-1136-44eb-a8fb-c17fc42fc0df
-
Monday, February 20, 2012 4:04 PM
-
Monday, February 20, 2012 4:17 PM
Don't use the first link posted. It's a copy/paste of code that is incomplete. In it, the objDNSZone is expected to already be instatiated outside of the function. The second link, however, appears to access the CreateZone method of the MicrosoftDNS_Zone appropriately -- at least using a cursory look. If you are not comfortable with using WMI or scripting, I'd highly recommend using Bigteddy's suggestion of using dnscmd.exeThere is also two vbscript that allow you to create primary zones, perhaps you can rebuild them to make reverse lookup zones as well:
http://gallery.technet.microsoft.com/scriptcenter/8fc175e7-060a-40d9-9a0c-e014efb287b9
http://gallery.technet.microsoft.com/scriptcenter/6a5f9eb8-1136-44eb-a8fb-c17fc42fc0df
- Edited by thepip3r Monday, February 20, 2012 4:21 PM

