Hexillion
 

AddrToArpa method

ArpaDomain = AddrToArpa ( IPAddr )

IPAddr Long Numeric IP address (in network byte order)
ArpaDomain String ARPA domain name such as "1.0.0.127.in-addr.arpa"

The AddrToArpa method provides a convenient means of representing IP addresses in the format needed for PTR queries.

When doing a PTR query as a reverse lookup for an IP address, you must actually query for a domain under in-addr.arpa composed of the dotted address string in reverse order.

For example, to get domain name for "216.46.230.21" you must do a PTR query for "21.230.46.216.in-addr.arpa".

Show site map

contact us    privacy policy    legal information