----- Original Message ----- From: "Wei Dong" <weid@xxxxxxxxxxxxxxxx>
To: "kennyen" <kennyen@xxxxxxxxxxx>
Cc: <linux-net@xxxxxxxxxxxxxxx>
Sent: Thursday, April 14, 2005 1:16 PM
Subject: Re: HELP:DNS cache
Hi kennyen:
I'm very glad that you've answered my question.But what i wanted to konw is the command to empty the DNS cache.For example:
If i know the command to empty the DNS cache,and it is "abc". I've run BIND9,then i enter "ping www.test.com" The DNS server will return the IP Address 192.168.0.1. Then i shutdown DNS server,but the resolution messages still in client pc DNS cache(OS Linux).I enter "ping www.test.com", the ping program still can ping 192.168.0.1.After i enter the command "abc",i run ping program ,the ping program will show "Unknow host name",now what i want to konw is the command "abc".
----- Original Message ----- From: "kennyen" <kennyen@xxxxxxxxxxx>
To: "Wei Dong" <weid@xxxxxxxxxxxxxxxx>; <linux-net@xxxxxxxxxxxxxxx>
Sent: Thursday, April 14, 2005 12:56 PM
Subject: Re: HELP:DNS cache
try host command,
example,
host yahoo.com [nameserver]
----- Original Message ----- From: "Wei Dong" <weid@xxxxxxxxxxxxxxxx>
To: <linux-net@xxxxxxxxxxxxxxx>
Sent: Thursday, April 14, 2005 10:39 AM
Subject: HELP:DNS cache
Dear All:
Because i want to test dns,and there is a problem
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).
-
: 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
- : 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