How to add host into DNS server using Command Line in Windows Server 2003?
How to add host into DNS server using Command Line in Windows Server 2003? If you have a lot of hosts that need to be added into DNS server, you can use dnscmd.exe command to make your job easier. If your server doesn't have this command, you might need to download Windows Support Tools from Microsoft. Find it yourself! As example, you want to add host sh-hr01 with IP Address 192.168.202.5 into sh.com domain using sh-ns server (this is a DNS server), execute this command: dnscmd sh-ns /RecordAdd sh.com sh-hr01 A 192.168.202.5 Then, you might need to add this host address into Reverse Pointer Zone (in this example is 168.192.in-addr.arpa), this is the command: dnscmd sh-ns /RecordAdd 168.192.in-addr.arpa 5.202 PTR sh-hr01.sh.com You can use this command as a batch command, so that you can add a lot of hosts easier.. Got it!?