httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Turner <>
Subject Re: [users@httpd] Re: Apache (php5/fcgi) can't resolve hostnames
Date Wed, 15 Apr 2009 22:30:22 GMT
Looks like I figured it out.

OSX's internal name resolution API calls (gethostbyname?) apparently
doesn't honor /etc/resolv.conf, but the 'host' command does.

Also, OSX doesn't like it if you've only configured as your
only nameserver, even if you have a perfectly good local named running
on loopback.  No idea why, using dig against localhost worked just

Long story short, going into System Preferences -> Networking -> Advanced -> DNS

and adding additional dns servers after seems to have solved
the problem.

Aaron Turner - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message