Date: Tue, 22 Feb 2005 09:24:22 +0100 From: Uwe Doering <gemini@geminix.org> To: Danny <nocmonkey@gmail.com> Cc: FreeBSD-questions <questions@freebsd.org> Subject: Re: FreeBSD 4.9 - clearing local DNS cache Message-ID: <421AEC36.9060304@geminix.org> In-Reply-To: <addc34c6050221124935af412f@mail.gmail.com> References: <addc34c6050221124935af412f@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
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@geminix.org | http://www.escapebox.net
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421AEC36.9060304>
