PTR Record for host in VLSM subnet

Posted by paradroid on Server Fault See other posts from Server Fault or by paradroid
Published on 2012-04-03T10:34:25Z Indexed on 2012/04/03 11:32 UTC
Read the original article Hit count: 279

Filed under:
|
|
|

I understand that this is the way a PTR record would be made on a Class A subnet (10.100.250.100 255.0.0.0)

dnscmd /RecordAdd 10.in-addr.arpa. 100.250.100 PTR host.domain.tld

To clarify the syntax, this is what it should be for a Class C subnet (192.168.1.100 255.255.255.0)

dnscmd /RecordAdd 1.168.192.in-addr.arpa. 100 PTR host.domain.tld

Is that right?

Now how do I do this for a host with the IP address 172.31.111.210 on a 172.31.111.192/26 network? I'm not sure how to do this with a classless subnet mask.

© Server Fault or respective owner

Related posts about Windows

Related posts about networking