new features: July 2008 Archives

IPv6 RDNS setup

| | Comments (0)

so IPv6 rdns is a little different from  IPv4 rdns.  With IPv4 rdns, you split each IP address on byte boundries, reverse the octets, and append   all data is represented in decimal, and you don't pad zeros.  for example, to get the ipv4 rdns of  you look for a ptr record named 

IPv6 rdns is similar on the surface;   instead of you append, but you split the address in unexpected ways, too:

IPv6 addresses are written out in hex, two byte chunks seperated by colon charaters.   IPv6 rdns writes out the full address in hex including padding out all zeros,  and then splits it into 4 bit chunks (single hex characters)  and reverses those. 

so to get the rdns of, say,,  IPv6 address: 2001:470:1:41:a800:ff:fe50:3143
you would look for a PTR record that looked like this:;

note that you must pad out the zeros so that each two-byte chunk seperated by the ':' character is represented by four characters.    

Of course, dig -x does this for us....

 dig -x 2001:470:1:41:a800:ff:fe50:3143

; <<>> DiG 9.3.4-P1 <<>> -x 2001:470:1:41:a800:ff:fe50:3143
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 20189
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0


About this Archive

This page is a archive of entries in the new features category from July 2008.

new features: June 2008 is the previous archive.

new features: September 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.