Re: php_network_getaddresses

From: Date: Fri, 03 May 2002 21:55:13 +0000
Subject: Re: php_network_getaddresses
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95985@lists.php.net to get a copy of this message
nslookup is not a good exclusive tool for testing local resolver problems, because it may do its own resolution. Try just pinging www.nancies.org from the command line. miguel On Fri, 3 May 2002, Julian wrote: > Hey All, > I get the following error: > > Warning: php_network_getaddresses: getaddrinfo failed: No address > associated with hostname in > /usr/home/roshi/htdocs/includes/rightcont_nanciesorg.inc.php on line 57 > Warning: > fopen("http://www.nancies.org/news/rss/","r") - > Bad file > descriptor in /usr/home/roshi/htdocs/includes/rightcont_nanciesorg.inc.php > on line 57 > Error reading RSS data. > > I know I can resolve b/c from the local machine I can: > > $nslookup > > www.nancies.org > Server: ns1.netaxs.com > Address: 207.106.1.2 > > Non-authoritative answer: > Name: nancies.org > Address: 207.8.144.57 > Aliases: www.nancies.org > > Does PHP look on a different port than 53 for host name lookups? > TIA, > Sabre > > >

« previous php.general (#95985) next »