[H-GEN] How do I flush my dns cache ?

Robert Stanford rob at rotapile.com
Sat Aug 10 09:06:05 EDT 2002


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Sat, 2002-08-10 at 20:42, Greg Black wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
> 
> Robert Stanford wrote:
> 
> | I'm not talking about when I'm running a name server
> | 
> | If I contact a machine on dynamic dns and its IP changes at some stage,
> | dns queres still use the old IP. I assume there is a dns cache somewhere
> | in kernel space (im not running named) and I can flush it in /proc/ or
> | by executing a command.
> 
> The original question was pretty vague.  This version does not
> tell us much more.  I don't know what OS you're using,

My apologies. I'm suffering a bout of OS myopia which I am told cannot
be cured and is best left endured.

Debian GNU/Linux 3.0 Kernel version 2.4.19

 but no
> Unix I'm familiar with caches DNS data in the kernel.  Routing
> information (which is based on addresses, not names) is kept in
> the kernel, but that's a different matter.

Maybe not in the kernel, just a guess on my behalf. However something in
the system is caching dns data and im basicly looking for the win2k
equivalent of ipconfig /flushdns
 
> I expect that you have an /etc/resolv.conf file that points to
> the actual name server that you use.  If it has cached stale
> data, its operator needs to flush that cache to solve your
> problem.


> In reality, the source of the DNS data needs to be fixed so that
> the TTL for dynamic data is short enough for cached data to time
> out soon enough when addresses change.
> 
> If you were to tell us the name server you're using and the name
> you're looking up and the answer you're getting and the answer
> you expect, then we can diagnose this a bit more.  As it is,
> it's just guesswork.
> 
> Greg
> 
> --
> * This is list (humbug) general handled by majordomo at lists.humbug.org.au .
> * Postings to this list are only accepted from subscribed addresses of
> * lists 'general' or 'general-post'.  See http://www.humbug.org.au/
> 



--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list