Re: [Dnsmasq-discuss] Dnsmasq stops resolving addresses after return from suspend and wlan re-assoc

2014-12-15 Thread Toke Høiland-Jørgensen
Simon Kelley si...@thekelleys.org.uk writes: Try git now. realpath() is my friend. Seems to work; I get the expected bunch of reloads of the file upon returning from suspend, picking up the right nameserver once it appears. Thanks a bunch! :) -Toke

Re: [Dnsmasq-discuss] Dnsmasq stops resolving addresses after return from suspend and wlan re-assoc

2014-12-15 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Try git now. realpath() is my friend. Cheers, Simon. On 12/12/14 09:11, Toke Høiland-Jørgensen wrote: Simon Kelley si...@thekelleys.org.uk writes: That sounds sensible, I shall continue my tour around the farther reaches of the Unix

Re: [Dnsmasq-discuss] Dnsmasq stops resolving addresses after return from suspend and wlan re-assoc

2014-12-12 Thread Toke Høiland-Jørgensen
Simon Kelley si...@thekelleys.org.uk writes: I just pushed code into git which uses inotify to track changes. Dnsmasq should now re-read the file whenever it is closed after being open for write, or when it's moved into the parent directory. I'm pretty sure (unless I've done it wrong) that

Re: [Dnsmasq-discuss] Dnsmasq stops resolving addresses after return from suspend and wlan re-assoc

2014-12-12 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/12/14 07:17, Toke Høiland-Jørgensen wrote: Simon Kelley si...@thekelleys.org.uk writes: I just pushed code into git which uses inotify to track changes. Dnsmasq should now re-read the file whenever it is closed after being open for

Re: [Dnsmasq-discuss] Dnsmasq stops resolving addresses after return from suspend and wlan re-assoc

2014-12-12 Thread Toke Høiland-Jørgensen
Simon Kelley si...@thekelleys.org.uk writes: That sounds sensible, I shall continue my tour around the farther reaches of the Unix file API. Later Great, thanks! I'll use the direct path in the meantime :) -Toke ___ Dnsmasq-discuss mailing list

Re: [Dnsmasq-discuss] Dnsmasq stops resolving addresses after return from suspend and wlan re-assoc

2014-12-10 Thread Simon Kelley
Hi Toke, I just pushed code into git which uses inotify to track changes. Dnsmasq should now re-read the file whenever it is closed after being open for write, or when it's moved into the parent directory. I'm pretty sure (unless I've done it wrong) that this will fix your problem. Please could

Re: [Dnsmasq-discuss] Dnsmasq stops resolving addresses after return from suspend and wlan re-assoc

2014-12-02 Thread Toke Høiland-Jørgensen
Friendly bump on this? :) -Toke I've been bothered for a while that my laptop (which runs a local dnsmasq instance for caching) stops resolving names after returning from suspend, and sometimes spontaneously as well. Restarting dnsmasq would always fix this. It finally started bothering me

[Dnsmasq-discuss] Dnsmasq stops resolving addresses after return from suspend and wlan re-assoc

2014-10-19 Thread Toke Høiland-Jørgensen
I've been bothered for a while that my laptop (which runs a local dnsmasq instance for caching) stops resolving names after returning from suspend, and sometimes spontaneously as well. Restarting dnsmasq would always fix this. It finally started bothering me enough to debug it, and what I think