I have a hard-to-reproduce situation where dnsmasq doesn't re-read the configured resolv conf when it changes. I'm running dnsmasq 2.79. I realise that this is rather behind the times but upgrading it on the platform in question is non-trivial; could someone suggest whether updating is likely to fix this problem please?
My dnsmasq.conf looks like this: C25CTW00000000001538:~$ cat /etc/dnsmasq.conf resolv-file=/etc/dnsmasq/resolv.conf conf-dir=/etc/dnsmasq.d/,*.conf interface=vsys0 interface=lo bind-interfaces max-cache-ttl=30 clear-on-reload log-queries The directory /etc/dnsmasq.d is empty. /etc/dnsmasq/resolv.conf looks like this: C25CTW00000000001538:~$ cat /etc/dnsmasq/resolv.conf nameserver 10.101.0.1 I've confirmed by attaching strace to the process that there is no activity in the process when this file changes. I don't know how to reproduce this; the only way I've found so far is to reboot the thing repeatedly until it does it; in about eight hours of doing this so far, it's happened twice. I've tried various combinations of doing interesting things with the file, starting dnsmasq and then changing the file but the file is always re-read correctly in these cases. Sending SIGHUP to the dnsmasq process doesn't help. Many thanks for any assistance, Tom Cook _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss