February 15, 200917 yr Hey ppl I need to 'flush' my DNS cache in order to be able to view my website i have recently put up for testing. With support from my host providers we have deduced this; it can be viewed on two other comps in the house no prob. I have two questions then; Can someone explain to me exactly what this means? Also then are there any mac users that use terminal here that can explain the process? I have found out what the commands are i need to run; dnscacheutil -flushcache I think I just need to type that straight into the window but is there anything else I should know? I do have the missing manual and do plan on learning how to use it properly but just trying to get me website sorted first. Thanks guys and sorry if I'm being a dense bird! PS Sorry I think there were more than 2 questions!
February 15, 200917 yr I don't use a Mac but if you can find the "Terminal" application just type in the command and hit the Enter button. After that you may see one or two messages and something to say it's completed (it only takes a second or so). Job done. What does it do? Well without going into lengthy explainations, your computer stores information about web site IP addresses and DNS entries whenever you use the web. Sometimes, when something on the web has changed, your computer still uses old information, so flushing the DNS clears out the data and forces new data to be looked up.
February 15, 200917 yr Author Thanks blue; sounds the same as normal cache but guy on support said it was different..... What's the difference between those then? Thanks again...
February 15, 200917 yr Thanks blue; sounds the same as normal cache but guy on support said it was different..... What's the difference between those then? Thanks again... I didn't think the DNS cache affected webpages? As a windows and IE7 you can do a refresh F5 or a forced refreshed with clears the cache (Ctrl + F5). On safari I don't know - sorry!
February 15, 200917 yr Author @ Bobbymooreok - I regularly refresh the normal cache - i don't safari much tho; more opera and firefox. So the normal cache isn't the problem.... and it isn't our internet connection; as i said, the otehr comps in the house view it fine in ie and safari.
February 15, 200917 yr Thanks blue; sounds the same as normal cache but guy on support said it was different..... What's the difference between those then? Yes there are 2 (or probably more) "caches" on any computer. Your normal browser cache is literally a repository of all the html/php/css/js and image documents from the web sites you visit. DNS cache is something that works behind the scenes and is more of a record of connections made between your computer and the internet. Put simply, "DNS" matches numbers (IP addresses) with human readable addresses (domain names) and routes a web page request to the correct location. Something like that anyway! For the most part the DNS cache normally needs no intervention, but on occasion if there has been a change to a domain name, it's ip address, or web hosting, it sometimes doesn't update as normal. "Flushing" forces your computer to go and retrieve the latest data.
February 15, 200917 yr Author Nice - thanks i get it Now i just need to figure out terminal cos it aint doing what i'm asking lol! Macintosh:~ rosieparsons$ dnscacheutil-flushcache-bash: dnscacheutil-flushcache: command not found Macintosh:~ rosieparsons$
February 15, 200917 yr I Googled "flush DNS", there are loads of examples... http://www.tech-recipes.com/rx/1802/mac_os...lear_dns_cache/ http://www.macosxhints.com/article.php?sto...071027100807321 http://blog.4rev.net/2008-07/flush-dns-cac...negative-entry/ http://face.centosprime.com/macosxw/flush-dns-cache/ One of those should work
February 15, 200917 yr Author Bluedreamer I could kiss you all over! So, for anyone else who has this prob....sudo dscacheutil -flushcache is the command. When I googled I only found the command without sudo. Thankyou
February 15, 200917 yr Bluedreamer I could kiss you all over! he he - careful, I might hold you to that Glad you got it sorted.
Create an account or sign in to comment