httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Meadors <clubn...@hereintown.net>
Subject Re: [users@httpd] apache 2 & bind 9
Date Sun, 23 Mar 2003 02:08:56 GMT
ldg@ulysium.net wrote:
> Is anyone using apache 2 with bind 9 yet?
> 
> I think it's possible that there can be some kind of problem maybe with
> apache when it's coupled with bind 9 on a system.
> 
> I know I have bind 9 running properly and it's answering queries correctly,
> but when certain incorrect queries are made to bind 9 that used to cause
> only an empty answer on bind 8, bind 9 doesn't answer after a long time out,
> with an empty record anyway.
> 
> The problem is that when a query to bind 9 is made, which is a query on an
> IP but the query isn't explicitly made as being a reverse lookup, such as
> dig -x x.x.x.x but without the -x switch, bind 9 waits while bind 8 doesn't.
> This is what apache 2 is doing and is causing extra long delays making such
> queries to bind 9.
> For example, putting only one single Listen directive in the apache 2 config
> putting it on one single IP, such as listen x.x.x.x:80 (x.x.x.x being an
> actual IP of course), then apache makes a query to the dns for that IP but
> not specifying a reverse lookup, so the query is something like x.x.x.x IN
> AAAA without calling for a reverse lookup on that.
> This type of query is made by apache whenever it is started, stopped or even
> when doing a config check, and this wouldn't be much of a problem and
> wouldn't be noticed with bind 8, because there would be no extra delay like
> bind 9 is causing.
> Once apache is started after all that delay, it seems to function properly,
> answering and serving web pages as expected.
> 
> Why is apache 2 behaving that way? Is it possible that something was
> overlooked in the apache development about the queries it makes at starup?
> 
> Shouldn't apache specify that the query on the IPs it makes are meant to be
> reverse lookups and not forward??
> 
> btw: I did put in a servername directive there, and it makes absolutely no
> difference. I've been running apache 1 with bind 8 for 6 years now and I'm
> used to it. It just doesn't seem to work right so far with apache 2 and bind
> 9 because there seems to have been some changes made and something may have
> been broken in the process, but what????
> 

I run Apache 2.x and Bind 9.x on all of my machines.  But also my Listen 
directive is just "Listen 80", no IP address.  I don't notice any delays 
on start up or any other time.

-- 
Chris


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message