Weirdly, it looks like this mdnsresponder is MIA. And I can't find a
way to install the process without a resintall of the OS.
Bill Humphries wrote:
Thanks, Ben. There isn't a nsswithc.conf, but you sent me down a
better path. There is a mdnsresponder. I'm going to try resetting
the plist for that.
Ben Scott wrote:
On Tue, Jul 26, 2011 at 2:41 PM, Bill Humphries
<nt...@hedgedigger.com> wrote:
client has mac with snow leopard that suddenly can't use DNS. i can
use
nslookup in terminal to successfully query a DNS server. but DNS
lookups
fail when using a browser or even ping. craziness.
I don't know how Apple might have jiggered things, but on a
traditional *nix system, nslookup has its own self-contained DNS
resolver implementation, separate from the system-wide resolver
regular programs use (like a browser or ping). So the fact that one
works and the other does not suggests the problem is in the local
system resolver configuration, not the network.
Does Mac OS X use /etc/nsswitch.conf? That's the traditional *nix
config file for the "name service switch", which determines how names
get resolved. Traditionally there would be a line such as:
hosts: files dns
which means, "to look-up a host (computer), first check files
(/etc/hosts), then try DNS". You might check there.
Does Mac OS X ship with Perl? If so, try this as a command line:
perl -e '($x) = gethostbyname(q(www.google.com)); print qq( ($x)
($!)
($?) ($^E) \n);'
When it works properly, it should print the canonical name, followed
by empty or zero values, each in parenthesis. When it goes wrong,
error information should show up.
-- Ben
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
---
To manage subscriptions click here:
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
---
To manage subscriptions click here:
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin