Knowledgebase: Troubleshooting
Flushing DNS
Posted by Jamie on 19 March 2008 09:06 PM
Frequently when you are not able to access you site through your domain name it is because your Internet Provider has not refreshed their cached DNS's.  You can force a refresh by performing a flush of the DNS through the utility command (pc) or terminal (mac).  

In Windows XP:

Go to Start->All programs -> Accessories -> Command Prompt
Type in "ipconfig /flushdns" and click enter
Once this is complete try accessing your site again through the domain name

In Windows Vista:

1. Click the Microsoft Vista Start logo in the bottom left corner of the screen
2. Click All Programs
3. Click Accessories
4. RIGHT-click on Command Prompt
5. Select Run As Administrator
6. In the command window type the following and then hit enter: ipconfig /flushdns
7. You will see the following confirmation:

Windows IP Configuration Successfully flushed the DNS Resolver Cache.


To flush the DNS cache in Mac OS X 10.5 and 10.6, run this command in Terminal: 

sudo dscacheutil -flushcache 


To do the same in 10.7 and 10.8, run this command: 

sudo killall -HUP mDNSResponder  


As Apple points out, you might need to do this in the following situation: 

"OS X keeps a local cache of resolved DNS queries for a time defined by the DNS server, but sometimes it may be necessary to reset the cache immediately and re-query a DNS server. For example, you might do this after an entry on the server is changed or a new entry is added."

(From http://hints.macworld.com/article.php?story=20120808001623238)


In Mac OS X (Leopard and Tiger):
From your hard-drive/"Finder" window, open the "Applications" folder and click on "Utilities"
Double click "Terminal"
Type in "dnscacheutil -flushcache" and click enter
Try accessing your site through the domain name
If the problem persists contact us at support@portfoliositez.com



You can find additional detailed DNS data here: http://www.whatsmydns.net/flush-dns.html
(991 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: