Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Flush DNS cache in Lion and Mountain Lion' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Flush DNS cache in Lion and Mountain Lion
Authored by: WestNab on Nov 20, '12 04:18:29AM

I have an iMac for which none of these solutions work.

$ ping xyz
PING xyz.abc.ac.uk (10.0.0.60): 56 data bytes
Request timeout for icmp_seq 0

10.0.0.60 is not the correct IP address for xyz (it was long ago). The iMac has correct DNS servers configured as well as search domains abc.ac.uk & xyz.abc.ac.uk

DNS lookup using dig of the short name fails:

$ dig xyz
... {guff with brackets that breaks html parser}
... opcode: QUERY, status: SERVFAIL, id: 48293

whereas dig xyz.abc.ac.uk succeeds with the correct results from one of the correct DNS servers. Other machines (including iMacs) on the network can ping xyz fine.

I have tried all solutions mentioned in this thread, but the same occurs.

Any ideas what's going on here? And/or how to fix?



[ Reply to This | # ]
Flush hosts file as well as DNS cache in Lion and Mountain Lion
Authored by: WestNab on Nov 21, '12 04:17:42AM

Ah, as usual it was my own fault - an entry in

/etc/hosts

file. Now edited out. All OK.



[ Reply to This | # ]
Flush DNS cache in Lion and Mountain Lion
Authored by: agentx on Nov 21, '12 08:03:33AM

I would check your hosts file if you are that way inclined to play with it.

[EDIT] OOPS just seen your post !!!

Edited on Nov 21, '12 08:04:12AM by agentx



[ Reply to This | # ]