DNS Forwarder - flushing cache doesn't work..
stimpy last edited by
I know, one simply needed to reload the dns forwarder service to clear its cache. But this doesn't work anymore.
Then, I tried sending SIGHUP to the dnsmasq process via SSH. Didn't work, too..
When running dnsmasq –help, I can see an option:
--clear-on-reload Clear DNS cache when reloading /etc/resolv.conf.
When checking the running process using "ps aux", I don't see this option being used:
nobody 85657 0.0 1.1 5512 2548 ?? S 12:26PM 0:00.12 /usr/local/sbin/dnsmasq --all-servers --rebind-localhost-ok --stop-dns-rebind --dhcp-hostsfile=/var/etc/hosts --dns-forward-max=5000 --cache-size=10000 --local-ttl=1
I checked, whether it works, or not, via ssh directly on the pfsense machine, so no more local caching can apply and I checked with the opendns (the only dns provider, I'm using with pfsense) website, my dns-update are already online.
My system is pfsense-embedded 2.1-RELEASE (i386) on an alix board.
Am I doing anything wrong or is it a bug? :)
Thanks in advance,
You need to stop and restart, not reload, dnsmasq to clear its cache.