How can I clear the DNS cache in DD-WRT on my router?
DD-WRT uses the dnsmasq daemon.
|
|
|
According to Flush dnsmasq dns cache: dnsmasq is a lightweight DNS, TFTP and DHCP server. It is intended to provide coupled DNS and DHCP service to a LAN. Dnsmasq accepts DNS queries and either answers them from a small, local, cache or forwards them to a real, recursive, DNS server. This software is also installed many cheap routers to cache dns queries. Just restart to flush out dns cache:
|
|||||||||||||
|
|
Since there are no init scripts on DD-WRT, I guess this would be the easiest way to restart dnsmasq:
|
||||
|
|
|
I've always used:
which has worked fine for me. I'm running some of the newer versions of DD-WRT and
also seemed to work without error or needing sudo... |
|||
|
|