DNS and Apache startup

Vangelis Haniotakis haniotak at ucnet.uoc.gr
Fri Jun 2 10:46:17 UTC 2000


On Fri, 2 Jun 2000, Subba Rao wrote:

> 
> One problem I have noticed is the slow startup of Apache at boot up time on my Linux.
> It is trying to resolve the DNS name for this web server. The domainname on my
> local LAN is a bogus domain. I do have the WWW server mentioned in the DNS table
> 
> www             A       10.5.28.11
> 
> What entries are required in the DNS to get Apache to start without delay?
> I would appreciate if you could send me some sample entries in DNS for Web server.

 Odd. A quick-and-dirty solution would be to add www.yourdomain.com
to the /etc/hosts file on the web server - that would probably speed
up the name resolution a bit. 

 As to your real problem: If your web server is the DNS server as well,
perhaps Apache is starting up before bind - which would explain the slow
startup. Consider switching the order in which these two services start
up. Of course, you should make _sure_ that your DNS and Apache
configurations are correct. Check your logs for error messages and the
like.


-- 
Vangelis Haniotakis		    A little rudeness and disrespect
University of Crete - UCnet	        can add drama and excitement 
Centre of Communications and Networking	   to an otherwise dull day.
System and Network Administration 			  -- Calvin.




More information about the bind-users mailing list