Ping if I recall uses the system lookup - so different resolving mechanism. 10.6: sudo dscacheutil -flushcache or sudo killall -HUP mDNSResponder (The first command should perform the second command for you now but in earlier versions of 10.6 it didn't appear to).To flush the DNS cache for each of the versions of Mac OS X: However in 10.6 and to a much lesser extent 10.5 it's possible to have dig give you the right value while the system resolving mechanism still has a bad value. In Mac OS X 10.4 and 10.5 the two approaches were much more tightly tied together refreshing one tended to refresh them both. The standard UNIX approach ( /etc/nf) which is used by dig and then the approach used by the rest of the system. serverfault because I think this is a local problem not a server problem.but if anyone can point me at the server, I guess we'll head down the street a domain or two.ĭepending on what version of Mac OS X you're using the way DNS is handled by the system has changed.Įssentially there are two DNS resolving mechanisms in Mac OS X. But what sort of problem? How can dig send a query and get a reply, and ping say 'unknown host'? Additionally, at the same time I'm experiencing this, other users are fine, which makes me think it's a problem on my Mac. I can make any connection I want with IP addresses, I just can't make DNS work. This issue happens to me about three times a week, and when I'm connected to the local network directly, the same switch as the server even. The DNS server is a SBS 2003 box which handles AD, some file/print, etc for a small company network. I cannot for the life of me figure this one out. Here's a sample, this one from the Mac: mac:~ atroon$ dig But trying to enter the FQDN or even just the machine name in a ping command or in a web browser results in 'Unknown Host' or DNS errors. When resolving FQDNs or machine names to IP addresses on my local network (mycompany.internal) I can use dig on the command line (linux/mac) or nslookup (windows) to query the configured server and get a response.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |