DNS problem

Discussion in 'macOS' started by bllgrn, Mar 18, 2011.

  1. bllgrn macrumors newbie

    Joined:
    Mar 17, 2011
    #1
    I am running 10.6.6 and I am having problems resolving DNS within any web browser, I have tried Firefox, Chrome, and Safari. From Terminal I can resolve DNS just fine.

    I have tried using my home ISP's, work ISP's, Level3, and OpenDNS servers, none have worked.

    I have tried renaming my Network Location, I have renamed various .plist files under /Library/Preferences/SystemConfiguration/ including Preferences and NetworkInterfaces.

    I also run a couple Parallels VM's they are not having any problems resolving DNS.

    I'm running out of ideas, here, any other suggestions?
     
  2. tcador macrumors regular

    Joined:
    Jan 16, 2008
    Location:
    Austin, TX
    #2
    when did the problems start? Any changes made to your computer before/after?
     
  3. bllgrn thread starter macrumors newbie

    Joined:
    Mar 17, 2011
    #3
    Negative, no changes made recently. Problem occurred two days ago nothing new was installed on around the time it started.
     
  4. baummer macrumors 6502a

    Joined:
    Jan 18, 2005
    Location:
    Southern California
    #4
    Do you have any third party firewall applications running?
     
  5. bllgrn thread starter macrumors newbie

    Joined:
    Mar 17, 2011
    #5
    No firewall.
     
  6. jimsiff macrumors newbie

    Joined:
    Mar 10, 2011
    Location:
    Portland, Or
    #6
    Are you using nslookup from Terminal? If so, nslookup doesn't use the gethostbyname() function, so it's not always a reliable indicator of how DNS is being handled for other applications.

    Does dig work? Try 'dig @208.67.222.222 $hostname' where $hostname is the host you want to query for. 208.67.222.222 is OpenDNS.

    What does /etc/resolv.conf show?

    Try doing a tcpdump to see if your DNS queries and responses are getting out and back to you.

    1) Use ifconfig to find your active interface, usually en0 or en1 for wired/wireless.
    2) Run tcpdump -i $interface host 208.67.222.222 from a Terminal.
    3) Run dig @208.67.222.222 www.google.com from another terminal.

    You should see a DNS query and response, looking similar to this:

    16:03:34.495967 IP 192.168.248.0.62923 > resolver1.opendns.com.domain: 10555+ A? www.google.com. (32)
    16:03:34.560531 IP resolver1.opendns.com.domain > 192.168.248.0.62923: 10555 6/0/0 CNAME www.l.google.com., A 74.125.224.52, A 74.125.224.49, A 74.125.224.48, A 74.125.224.50, A 74.125.224.51 (132)

    Hope this helps...
     
  7. bllgrn thread starter macrumors newbie

    Joined:
    Mar 17, 2011
    #7
    I am definitely resolving DNS in Terminal, but browsers are still thumbing their nose at me.


    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on en1, link-type EN10MB (Ethernet), capture size 65535 bytes

    09:43:47.811704 IP 10.10.99.13.55648 > 208.67.222.222.domain: 9097+ A? google.com. (28)
    09:43:47.854890 IP 208.67.222.222.domain > 10.10.99.13.55648: 9097 5/0/0 A 74.125.226.179, A 74.125.226.180, A 74.125.226.176, A 74.125.226.177, A 74.125.226.178 (108)
     
  8. Detrius macrumors 68000

    Joined:
    Sep 10, 2008
    Location:
    Asheville, NC
  9. benbur macrumors newbie

    Joined:
    Mar 20, 2011
    #9
    Similar issue!

    I have been having a similar issue, except only under one domain. Every other domain that I've tried works just fine. It's being resolved in terminal and works normally on every other machine on my local network. If I take my laptop to a different network, it still doesn't work. See my post on the Apple forums for more details: http://discussions.apple.com/thread.jspa?threadID=2789450&tstart=0.

    This sounds to me like the same problem as the OP's... For now I'm able to connect to hosts via their IP addresses, but it's rather inconvenient.
     
  10. bllgrn thread starter macrumors newbie

    Joined:
    Mar 17, 2011
    #10
    Yes, numerous times.
     

Share This Page