On Sat, 2005-09-24 at 12:26 -0700, Larry Evans wrote:
> Hello,
Hi Larry.

> 
> On a system that utilize dhcp to connect to the 
> Internet via dhcpcd, and dnsmasq is configured to
> use /etc/dhcpc/resolv.conf, if dnsmasq is started
> before dhcpcd completes start-up operation, then
> dnsmasq will fail to find /etc/dhcpc/resolv.conf, and
> falls back to serving local network only. 

> Normal behaviour of dnsmasq is to poll
> /etc/dhcpc/resolv.conf for every request that it
> can not resolve locally. Why does it fail?
> 

It does not poll it for every request but it looks for a change of that
file every second... at least unless you define the no-poll option in
the config file. 
I was trying to reproduce your problem, but did not suceed. 
I do not use dhcp for my internet connection, but i created a
file /etc/dhcp/resolv.conf, started dnsmasq, changed the resolv file and
dnsmasq used the new dns forwarder in there...
So, to track down your problem:
- Did you check if your resolv file has the correct permissions ?
- could you try to change the resolv.conf "by hand" and see if dnsmasq
recognizes this change ?
- can you provide your dnsmasq.conf ?
- are you updating your system clock once your internet connection
is established ?? (via ntpdate ?)

--arne

-- 
Arne Bernin <[EMAIL PROTECTED]>

http://www.ucBering.de





-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to