All Forums >> [Scripting] >> Post a VBScript >> DNS Record Creation Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
If you haven't guessed I do DNS and DHCP Administratioin for a large international corporation. This script is what I use when I can't get to the standard tools. It creates the forward and reverse lookup records you need to install "dnscmd.exe" for this to work.
Replace the ##.##.##.## here afCmd = "dnscmd ##.##.##.## /recordadd target.com " and here arCmd = "dnscmd ##.##.##.## /recordadd xx.in-addr.arpa " with your DNS server IP address.
And replace the xx here arCmd = "dnscmd ##.##.##.## /recordadd xx.in-addr.arpa with the first Octet of the network you work on.