On Thu, 14 Apr 2005, Wei Dong wrote:

I want to test dns server from client pc.And we know client pc(OS Linux) has a DNS cache, it saves the lastest DNS resolution messages,and it will influence my test result.

So i want to know how to empty the DNS cache in client pc(OS Linux).

Two ways to do what you are looking for:

a) Query DNS directly, bypassing the name service cache. For example the bind-utils (host, dig, nslookup)

b) Restart the name service cache (nscd) to flush the cache.

Regards
Henrik
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to