Tuesday, February 17, 2009

Create Host A record using dnscmd

The following shows adding a host A record on command prompt.

1. assume the dns server is "dnsserver", dns zone is "myrootdns.com" and host which is to be added is "dnsclient.myrootdns.com"

dnscmd dnsserver /recordadd myrootdns.com . /Aging /OpenAcl A dnsclient.myrootdns.com

To set timeout (say 20secs) for the record, run

dnscmd dnsserver /recordadd myrootdns.com . /Aging /OpenAcl 20 A dnsclient.myrootdns.com

0 comments:

Design by infinityskins.blogspot