I use Tomato 1.07 with the Use Internal Caching DNS Forwarder option enabled. Is there some way, via SSH, to clear the Dnsmasq cache of resolved DNS names and IP addresses? (With the goal of forcing a WAN DNS lookup, rather than having Dnsmasq feed me a result from cache.) I do mean without rebooting the router.
kill -1 sends SIGHUP. So... Code: killall -1 dnsmasq will do the trick. (Note, it does NOT kill dnsmasq.) See the "Notes" section here: http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
Thank you. I can't find any real documentation on the killall command, though. What does the -1 accomplish? (I've seen variants that use -9, for example.)