Sunday, February 1, 2009

Create PTR Record using dnscmd command

To add a new PTR resource record on command line using the command dnscmd, do the following

1. Assume domain dns zone is myrootdns.com, dns server is "dnsserver", Host name and IP address of the dns client for which PTR record to be created are "dnsclient.myrootdns.com" and "192.168.1.200" and reverse lookup zone is "1.168.192.in-addr.arpa"

2. Now run the following to create PTR resource record

dnscmd.exe /recordadd 1.168.192.in-addr.arpa 200 PTR dnsclient.myrootdns.com








3. Thus PTR record has been created and can be verified in the dns manager console.







Sameway, for a subdomain say subdomain.myrootdns.com, PTR record can be created using DNSCMD.

Assume sundomain name is subdomain.myrootdns.com, ip address of the dnsserver of the subdomain is 192.168.1.150

dnscmd.exe /recordadd 1.168.192.in-addr.arpa 150 PTR subdomain.myrootdns.com

0 comments:

Design by infinityskins.blogspot