Net_DNS: Examples: PTR Lookup

How to perform an Inverse Query (PTR query):

require_once("Net/DNS.php");
$res = new Net_DNS_Resolver();
$res->debug = 1;
$answer = $res->search("208.77.188.166");
echo "<BR><HR><BR>";
print_r($answer);

This example will query the name server and output the following: