• On TV.com: NARUTO SHIPPUDEN Episode 138: The End
advertisement
Click Here
November 8, 2004 12:55 AM PST

DNS issues: Finding a DNS server

by CNET staff
  • Font size
  • Print
  • Post a comment

As we've covered the widespread issue with Safari (and other browsers) not being able to connect on the first try due to DNS issues, we've noted that one of the most successful solutions has been to manually enter your ISP's DNS server address(es) in the DNS Servers field of the TCP/IP tab of your Internet connection port in Network preferences. Unfortunately, some ISPs don't seem to be as cooperative as they could be. In addition to the methods previously covered, several options exist for locating DNS server addresses:

As noted by Randy Smith, you can use the unix DIG command in the terminal with the appropriate virtual server name for your ISP. Comcast users would use:

  • dig ns attbi.com

"Look for entries in the answer section with NS by them these are the DNS servers, The addresses of servers are in the additional section

Another reader adds:

"The easiest and most sure-fire method for determining DHCP-supplied DNS information is to use the Terminal:

  • $ cat /etc/resolv.conf

"This will report the Search Domains (domain) and DNS Servers (nameserver). Any time that you click 'Apply Changes' in the Network Preferences it will recreate this file (so don't bother editing it by hand). If you manually enter one or more DNS Servers (via System Preferences: Network: TCP/IP) it will prepend those DNS Servers to the nameserver list (i.e., giving them priority over the DHCP-supplied nameservers).

"Note: if you have a wired/wireless router it may or may not pass the DNS servers through (i.e., if your nameserver address is also your gateway/router address, then it's not passing it through and you'll have to log into your router directly to see what nameservers it is using)."

Meanwhile, Alex Kac notes another solution for those using a Mac OS X box as a DNS server:

"I use OS X Server as my DNS server for our network and out of the box it runs BIND 9.22. I installed BIND 9.3 in /usr/local/bin and then added a config option to named.conf to better handle 512 byte UDP packets and changed the startup option to run bind as /usr/local/bin/named ?4 ?c .....with my config file. Restarted BIND and now everything works very well."

Resources

  • More from Late-Breakers
  • Recent posts from MacFixIt
    Apple releases Aperture 3.0
    Manage iCal's automatic e-mail generation for invitations
    CNET TV Apple Byte: Apple faces critics
    Weekly Utilities Update: Net Monitor, MiniUsage, TimeMachineEditor, more...
    Odds and Ends: Essential video codec packs for OS X
    Address Book: Unable to add, view contacts
    Persistent 'Faster Browser Search' overtaking Safari's default search
    Quick tip: Faster Time Machine backups
    advertisement
    Click Here

    About MacFixIt

    MacFixIt is CNET's troubleshooting resource for all things Mac. The information here helps you navigate the ins-and-outs of Mac ownership with how-tos, troubleshooting information, news, reviews, and more.

    Add this feed to your online news reader