[Dnsmasq-discuss] (no subject)
Eric Vance
epvance at gmail.com
Thu Jan 17 17:51:51 GMT 2013
I'm using dnsmasq on an OpenWRT Router.
I have the following set in /etc/dnsmasq.conf:
local-ttl=0
cache-size=0
I believe that tells the client not to cache the dns (which I've confirmed)
and it tells dnsmasq to not cache responses.
Let's say I have this entry in my /etc/hosts file:
192.168.1.1 mydomain.com
I have a cron job that changes this entry to this:
192.168.1.44 mydomain.com
After the entry is changed in the hosts file I run this to hup:
kill -1 `pidof dnsmasq`;
>From my testing, after I change the ip and run the hup it takes about 30 -
60 seconds until the domain resolves to 192.168.1.44. So, even after I
make the change the name still resolves to 192.168.1.1 for a minute.
What am I doing wrong? Is there a better way to do this? Is there a
better way to Hup? Am I missing an important setting? Any help or
suggestions would be appreciated!
Thanks!
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20130117/879c9d0c/attachment.html>
More information about the Dnsmasq-discuss
mailing list