Okay, I figured out a solution reading the DNSMASQ docs (I'm using
DNSMASQ with messy DHCP). I forgot exactly everything I did, but I'm
pretty sure this is it (sorry to take so long to respond):

First I modified the dnsmasq config, note the change below:

# Change this line if you want dns to get its upstream servers from
# somewhere other that /etc/resolv.conf
#resolv-file=
resolv-file=/etc/resolv.dnsmasq

Then...

- Early in the bootup process, after I get my IP via DHCP (cable modem)
I rename resolv.conf (with DHCP updates) to resolv.dnsmasq via a
startup script

- Then I do an echo "nameserver 127.0.0.1" > /etc/resolv.conf (same
script)

That's it. No more delay, no host file maintenance for every possible client.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to