Archive for September, 2005

smoothwall flush dns cache

September 26, 2005

At home I use an old computer running Smoothwall for a firewall. It was the cheapest and easiest way for me to connect to my office via IPSec. In hindsight, I probably should have gone with a totally open source project like IPCop. One of these days, I’ll get around to switching it or maybe just running it all from my Linksys WRT54G.

Anyhow, I move a lot of domains around and it is helpful to be able to get dns changes quickly. To do this with my smoothy, or any other Linux-based firewall/DNS Server I imagine, as root:
killall dnsmasq
dnsmasq -r /etc/resolv.conf.dnsmasq