Re: [us...@httpd] Re: Apache (php5/fcgi) can't resolve hostnames

2009-04-25 Thread Matus UHLAR - fantomas
> On Wed, Apr 15, 2009 at 10:33 PM, Krist van Besien > wrote: > > On Thu, Apr 16, 2009 at 12:30 AM, Aaron Turner wrote: > >> 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

Re: [us...@httpd] Re: Apache (php5/fcgi) can't resolve hostnames

2009-04-16 Thread Aaron Turner
On Wed, Apr 15, 2009 at 10:33 PM, Krist van Besien wrote: > On Thu, Apr 16, 2009 at 12:30 AM, Aaron Turner wrote: >> 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. > > This is

Re: [us...@httpd] Re: Apache (php5/fcgi) can't resolve hostnames

2009-04-15 Thread Krist van Besien
On Thu, Apr 16, 2009 at 12:30 AM, Aaron Turner wrote: > 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. This is also why "getent hosts" is a better tool to debug DNS issues than th

Re: [us...@httpd] Re: Apache (php5/fcgi) can't resolve hostnames

2009-04-15 Thread Aaron Turner
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 127.0.0.1 as your only nameserver, even if you have a perfectly good local named runni

Re: [us...@httpd] Re: Apache (php5/fcgi) can't resolve hostnames

2009-04-15 Thread Aaron Turner
On Wed, Apr 15, 2009 at 11:30 AM, Paul Puschmann wrote: > Do you have more than one ethernet-interface? > Perhaps your Apache is bound to an interface that has no connections > to the outside? Excellent idea, but I have only one interface and apache is bound to that. Apache is accessible via the

Re: [us...@httpd] Re: Apache (php5/fcgi) can't resolve hostnames

2009-04-15 Thread Paul Puschmann
On Wed, Apr 15, 2009 at 10:31:52AM -0700, Aaron Turner wrote: > On Tue, Apr 14, 2009 at 11:34 PM, Krist van Besien > wrote: > > On Tue, Apr 14, 2009 at 5:32 PM, Aaron Turner wrote: > >> Nobody has any ideas??? > >> > >> On Sat, Apr 11, 2009 at 3:31 PM, Aaron Turner wrote: > >>> At first I though

Re: [us...@httpd] Re: Apache (php5/fcgi) can't resolve hostnames

2009-04-15 Thread Aaron Turner
On Tue, Apr 14, 2009 at 11:34 PM, Krist van Besien wrote: > On Tue, Apr 14, 2009 at 5:32 PM, Aaron Turner wrote: >> Nobody has any ideas??? >> >> On Sat, Apr 11, 2009 at 3:31 PM, Aaron Turner wrote: >>> At first I thought this was a problem with my python/fastcgi config, >>> but now I've noticed

Re: [us...@httpd] Re: Apache (php5/fcgi) can't resolve hostnames

2009-04-14 Thread Krist van Besien
On Tue, Apr 14, 2009 at 5:32 PM, Aaron Turner wrote: > Nobody has any ideas??? > > On Sat, Apr 11, 2009 at 3:31 PM, Aaron Turner wrote: >> At first I thought this was a problem with my python/fastcgi config, >> but now I've noticed that php5 apps like Wordpress can't resolve hosts >> either.  Res

Re: [us...@httpd] Re: Apache (php5/fcgi) can't resolve hostnames

2009-04-14 Thread Brian Mearns
On Tue, Apr 14, 2009 at 11:32 AM, Aaron Turner wrote: > Nobody has any ideas??? > > On Sat, Apr 11, 2009 at 3:31 PM, Aaron Turner wrote: >> At first I thought this was a problem with my python/fastcgi config, >> but now I've noticed that php5 apps like Wordpress can't resolve hosts >> either.  Re

[us...@httpd] Re: Apache (php5/fcgi) can't resolve hostnames

2009-04-14 Thread Aaron Turner
Nobody has any ideas??? On Sat, Apr 11, 2009 at 3:31 PM, Aaron Turner wrote: > At first I thought this was a problem with my python/fastcgi config, > but now I've noticed that php5 apps like Wordpress can't resolve hosts > either.  Resolving hosts works just fine on the command line via the > "ho