Saturday, February 14, 2009

Create NS Record using dnscmd

The following illustrates on how to add NS (Name Server) to a dns on command prompt.

1. Assume the subdomain is "", parent domain is "", parent domain's dns server is "dnsserver", the name server (dns server) for is "" .
2. Now run the below command to add NS for "childdnsserver" at "" dns zone.

dnscmd dnsserver /recordadd subdomain /Aging /OpenAcl NS

To set timeout(20) for the record, run

dnscmd dnsserver /recordadd subdomain /Aging /OpenAcl 20 NS

To remove NS reocord, run

dnscmd dnsserver /recorddelete dnsserver NS


Design by infinityskins.blogspot