[Techtalk] name resolution problem with PHP

Devdas Bhagat devdas at dvb.homelinux.org
Wed Sep 29 19:28:43 EST 2004


On 29/09/04 09:39 -0400, Katie Bechtold wrote:
<snip>
> However, if I SSH into the machine on which this page is hosted, the
> DNS entry is resolved with no problems:
> 
> # ping www.livejournal.com
> PING www.livejournal.com (66.150.15.150): 56 data bytes
> 64 bytes from 66.150.15.150: icmp_seq=0 ttl=242 time=462.7 ms
> 64 bytes from 66.150.15.150: icmp_seq=1 ttl=242 time=84.3 ms
> 64 bytes from 66.150.15.150: icmp_seq=2 ttl=242 time=84.0 ms
> 
> 
> What is different about how PHP performs name resolution from how
> other programs on that same machine perform name resolution?

Try as user apache? You can turn named query logging on and see what
results.

Devdas Bhagat


More information about the Techtalk mailing list