Re: gethostbyname failing?
| From: | Henrik Hudson | Date: | Fri, 10 Nov 2006 12:09:07 +0000 |
| Subject: | Re: gethostbyname failing? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244465@lists.php.net to get a copy of this message | ||
On Thursday 09 November 2006 21:28, Chris <dmagick@gmail.com> 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 inside Apache...)
> >
> > funny thing is I've got a test server with the same exact port versions
> > and almost identical config files, so..I don't know...perl scripts and
> > php from the CLI work fine..so my actual DNS resolution is working
> > okay..just Apache is losing it somewhere...if anyone has some
> > thoughts..let me know :)
>
> Hostname lookups has *nothing* to do with this issue. It only affects
> apache.
> http://httpd.apache.org/docs/1.3/mod/core.html#hostnamelookups
>
Yeah, I know that. I was using it as another test. When I turn this "On", it
doesn't actually perform the lookups and I still just got IP numbers in all
my logs.
> As someone else mentioned, freebsd has issues with this stuff when it's
> running inside a chroot'ed environment.
>
> Are you running in a chroot'ed or selinux or anything like that?
Nope, no chroot's, jails or funky security levels.
Henrik
--
Henrik Hudson
lists@rhavenn.net
------------------------------
"God, root, what is difference?" Pitr; UF (http://www.userfriendly.org/)