:: Re: [DNG] how to clear DNS cache
Etusivu
Poista viesti
Vastaa
Lähettäjä: Rick Moen
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] how to clear DNS cache
Quoting Rowland Penny (rpenny241155@???):

> He is probably running dnsmasq (well part of it), is there a line
> in /etc/hosts that starts '127.0.1.1' ?


If he does, then he has caching at (at least) two places, in Dnsmasq
(which is a caching forwarder) and in the real recursive namserver to
which Dnsmasq forwards all queries. If memory serves, he was using
Google Public DNS for the latter.


For those who are tired of outsourcing their recursive DNS nameservice to,
e.g., Google the second-nosiest company on the planet (next to Facebook)
or to anyone else, IMO look no further than Unbound:
http://linuxmafia.com/faq/Network_Other/dns-servers.html#unbound

(Unlike authoritative DNS, recursive DNS doesn't require administrative
knowledge or attention. It just runs for you. All you need do is point
an /etc/resolv.conf line at it, once you have it running.)


Other open source recursive nameserver software for Linux:
http://linuxmafia.com/faq/Network_Other/dns-servers.html#bind9 (one function of)
http://linuxmafia.com/faq/Network_Other/dns-servers.html#deadwood
http://linuxmafia.com/faq/Network_Other/dns-servers.html#djbdns (dnscache component)
http://linuxmafia.com/faq/Network_Other/dns-servers.html#pdns-recursor