Net_DNS

From: Date: Tue, 19 Apr 2005 12:47:00 +0000
Subject: Net_DNS
Groups: php.pear.dev php.pear.general 
Request: Send a blank email to pear-dev+get-37283@lists.php.net to get a copy of this message
Hi I am battling to get the code below to work: I am running Windows Xp, Apache 2, PHP 5, and Net_DNS 1.0.0b3. <?php require_once 'Net/DNS.php'; // create object $ndr = new Net_DNS_Resolver(); // uncomment this for debug output // $ndr->debug = 1; // query for IP address $answer = $ndr->search("cnet.com", "A"); // print output print_r($answer); ?> I just get a 0 as the output. Can anyone help? Regards E

« previous php.pear.dev (#37283) next »