About DNS Cache

Source: Internet
Author: User

DNS Cache COMMANDS IN WINDOWS

Refresh DNS Cache:

C:/> ipconfig/flushdns
Windows IP configuration
Successfully flushed the DNS resolver cache.

 

View DNS Cache:

C:/> ipconfig/displaydns

Disable DNS Cache:

C:/> net stop Dnscache
C:/> SC servername stop Dnscache

You can also close the DNS Client in Control Panel> service.

Change DNS Cache Time:

Modify the Registry HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/Dnscache/parameters

Maxcachettl Max DNS Cache Time
Maxnegativecachettl Max failed DNS Cache Time

DNS Cache commands in Linux

Restart or stop nscd (name server cache Daemon:

$ Service nscd restart
$/Etc/rc. d/init. d/nscd restart
$ Service nscd stop
$/Etc/rc. d/init. d/nscd stop

You can also disable nscd in the service.

Refer:

How do I flush DNS?

Summary of some tips on DNS Cache

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.