NETSH - Reverse Lookup Zone
-
Montag, 20. Februar 2012 15:33
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
Alle Antworten
-
Montag, 20. Februar 2012 15:43
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)
- Bearbeitet BigteddyMicrosoft Community Contributor Montag, 20. Februar 2012 16:19
- Als Antwort vorgeschlagen jrvMicrosoft Community Contributor Montag, 20. Februar 2012 18:07
- Als Antwort markiert Boe ProxModerator Mittwoch, 22. Februar 2012 02:17
-
Montag, 20. Februar 2012 15:57
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
-
Montag, 20. Februar 2012 16:04
-
Montag, 20. Februar 2012 16:17
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
- Bearbeitet thepip3r Montag, 20. Februar 2012 16:21

