View Single Post

  #9 (permalink)  
Old 10-05-2005
Jorey Bump
 
Posts: n/a
Default Re: Apache startup resolve problem

"Bergset" <sabergset@gmail.com> wrote in
news:1128548286.820516.324280@g43g2000cwa.googlegr oups.com:

>> > Other config files on 192.168.1.1:
>> >
>> > "/etc/resolv.conf" contains:
>> > search testdomain.com
>> > nameserver 192.168.1.3
>> > nameserver xxx.xxx.xxx.xxx (my ISP's DNS servers)
>> > nameserver yyy.yyy.yyy.yyy


> No, it is a vanilla Debian 3.1 installation. Apache resolves correct
> when I put my virtualhosts in /etc/hosts so theres no problem there.


If you're relying on a test DNS server, it should be your only entry in
/etc/resolv.conf:

nameserver 192.168.1.3

Otherwise, you won't know when the system is falling back to your ISP's
nameserver when your test server fails. Just a thought.