Re: [PHP] gethostbyname failing?

2006-11-10 Thread Henrik Hudson
FYI: I uninstalled Apache 2.2.3 and installed Apache 1.3.x via ports and now everything works flawlessly. I made zero other changes on the system between working and not working, so there either is a bug or something "wierd". I was running dnstop and when asking the server to do "hostnamelookup

Re: [PHP] gethostbyname failing?

2006-11-10 Thread Henrik Hudson
On Thursday 09 November 2006 21:28, Chris <[EMAIL PROTECTED]> sent a missive stating: > Henrik Hudson wrote: > > Thanks for the input everyone. It seems it Apache itself can't do lookups > > either (ie: Hostnamelookups On ..doesn't actually do anything..so, going > > to hunt down the issues insi

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Chris
Henrik Hudson wrote: Thanks for the input everyone. It seems it Apache itself can't do lookups either (ie: Hostnamelookups On ..doesn't actually do anything..so, going to hunt down the issues inside Apache...) funny thing is I've got a test server with the same exact port versions and almost

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Henrik Hudson
Thanks for the input everyone. It seems it Apache itself can't do lookups either (ie: Hostnamelookups On ..doesn't actually do anything..so, going to hunt down the issues inside Apache...) funny thing is I've got a test server with the same exact port versions and almost identical config files

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Jürgen Wind
maybe this is related: from http://de3.php.net/manual/en/function.gethostbyname.php (user comments) >>> christian at SPAM at IS at DEAD at MEAT at karg dot org 01-Apr-2003 02:12 I had difficulty getting gethostbyname to work under OpenBSD 3.2 and Apache, until I discovered that the default Apache

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Google Kreme
On 09 Nov 2006, at 15:09 , Henrik Hudson wrote: On Thursday 09 November 2006 15:56, Jürgen Wind <[EMAIL PROTECTED]> sent a missive stating: '; print_r( gethostbynamel('www.google.com') ); ?> Yes, I get nothing when running inside Apache.

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Henrik Hudson
On Thursday 09 November 2006 15:56, Jürgen Wind <[EMAIL PROTECTED]> sent a missive stating: > Henrik Hudson wrote: > > Hey List- > > > > running: apache 2.2, freebsd 6.2 and php 4.4.4 > > > > I've got a wierd issue. I've got a script that does this: > > > > $domain = "www.google.com"; > > $ip =

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Jürgen Wind
Henrik Hudson wrote: > > Hey List- > > running: apache 2.2, freebsd 6.2 and php 4.4.4 > > I've got a wierd issue. I've got a script that does this: > > $domain = "www.google.com"; > $ip = gethostbyname($domain); > echo $ip; > > $hostname = gethostbyaddr("72.14.205.99"); > echo $hostname; >

[PHP] gethostbyname failing?

2006-11-09 Thread Henrik Hudson
Hey List- running: apache 2.2, freebsd 6.2 and php 4.4.4 I've got a wierd issue. I've got a script that does this: $domain = "www.google.com"; $ip = gethostbyname($domain); echo $ip; $hostname = gethostbyaddr("72.14.205.99"); echo $hostname; Using dig, ping, etc... to confirm name resolution