How to flush DNS cache? How to flush DNS cache?

How to flush DNS cache?

DNS   LAUREN ANDERSON   0 COMMENTS

DNS stands for Domain Name System. DNS servers convert a domain name (such as example.com) into an IP address (such as 128.10.132.102). If you have an IP address that constantly changes like most people, then the mapping changes from time to time. When you visit a website, you computer does not query the domain's authoritative name servers every time, instead it holds a record of the DNS entries and updates it only every few days. This is called DNS cache. So if a website's IP has changed, you might not be able to access it initially. Flushing your DNS cache might help. This blog shows you how to flush DNS for different operating systems.

Windows

1
Open the Command Prompt

  • Windows XP: Click on the Start Menu and click Run.Type in cmd and hit Enter.
  • Windows Vista/7: Type cmd in the search bar and hit Enter.
  • Windows 8: Press windows logo key and X on your keyboard at the same time. Click on Command Prompt.

2
Flush DNS

Type the following command and hit Enter.

For XP and Vista:

ipconfig /flushdns
Flush DNS Cache
Use the following commands for Windows 7,8 and 8.1:

ipconfig /flushdns
ipconfig /registerdns
ipconfig /release
ipconfig /renew
netsh winsock reset

Mac OS X

1
Open the Terminal

Navigate to Applications -> Utilities -> Terminal

2
Flush DNS

Type the following command and hit Enter.

OS X 10.10 (Yosemite)

sudo discoveryutil mdnsflushcache
OS X 10.7 - 10.9 (Mavericks, Mountain Lion, and Lion)

sudo killall -HUP mDNSResponder
OS X 10.6 and older

sudo dscacheutil -flushcache







*
* (L'indirizzo email non verrà pubblicato.)
Loading...