Saturday, February 14, 2009

Create Host Type A record using dnscmd

The following illustrates on how to add Type A resource records on command prompt using dnscmd.

1. Assume the domain name is "", dns server is "dnsserver", client Machine for which to add Host A record is "" and IP address of is "".
2. Run below command to add Type A record to "dnsserver"

dnscmd dnsserver /Aging /OpenAcl A
3. To verify the record is created, run

dnscmd dnsserver /EnumRecords

To set timeout for the record, run

dnscmd dnsserver /Aging /OpenAcl 20 A


Design by infinityskins.blogspot