Local host name resolution

  • Thread starter Thread starter Daniel Tan
  • Start date Start date
D

Daniel Tan

What is the command to view the local host name cache and how long it
will stay there ? Thanks.

Daniel
 
(e-mail address removed) (Daniel Tan) wrote in
John, what i refer to is internet host name such as www.yahoo.com
.

Regards,
Daniel

Oh. I didn't think of that one.

In that case, try the command:
ipconfig /displaydns
and to clear it, use the command
ipconfig /flushdns

You may want to send the output to a file as in:
ipconfig /displaydns >outfile.txt
The output contains a time-to-live field.

HTH,
John
 
(e-mail address removed) (Daniel Tan) wrote in
John, how to show the cached dns name ? It only shows command
line. Thanks.

Hmmm. That command works fine in Win2K but I see it doesn't work in
Win98. Sorry, best I can do.

-- John
 
Back
Top