FreeBSD 4.9 - clearing local DNS cache
Uwe Doering
gemini at geminix.org
Tue Feb 22 08:24:31 GMT 2005
Danny wrote:
> How does one go about clearing local DNS cache?
In case you don't have a 'named' process running on that very machine
there is no local DNS cache. Applications (DNS clients) just query the
DNS server every time, and if it is remote and out of your reach there
is nothing you can do about it, short of using a different DNS server.
However, if there is a local 'named' process you can get rid of its
cache contents only by restarting it (AFAIK). As user 'root', try
ndc restart
and check '/var/log/messages' for the new startup message. That should
do the trick.
Uwe
--
Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers
gemini at geminix.org | http://www.escapebox.net
More information about the freebsd-questions
mailing list