Re: HELP:DNS cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux