From owner-freebsd-questions@FreeBSD.ORG Tue Feb 22 08:24:31 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D2C316A4CE for ; Tue, 22 Feb 2005 08:24:31 +0000 (GMT) Received: from gen129.n001.c02.escapebox.net (gen129.n001.c02.escapebox.net [213.73.91.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1457943D48 for ; Tue, 22 Feb 2005 08:24:31 +0000 (GMT) (envelope-from gemini@geminix.org) Message-ID: <421AEC36.9060304@geminix.org> Date: Tue, 22 Feb 2005 09:24:22 +0100 From: Uwe Doering Organization: Private UNIX Site User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Danny References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Received: from gemini by geminix.org with asmtp (TLSv1:AES256-SHA:256) (Exim 3.36 #1) id 1D3VLH-000KCu-00; Tue, 22 Feb 2005 09:24:27 +0100 cc: FreeBSD-questions Subject: Re: FreeBSD 4.9 - clearing local DNS cache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2005 08:24:31 -0000 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