Local host name resolution

D

Daniel Tan

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

Daniel
 
J

John Wunderlich

(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
 
D

Daniel Tan

John, how to show the cached dns name ? It only shows command line. Thanks.

Daniel
 
J

John Wunderlich

(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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top