(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version

DNS troubleshooting


2007/08/31

DNS problems can cause all sorts of strange network behavior. Not being able to resolve Internet host names is an obvious symptom, but because of reverse lookups, general server slowness can be caused by the same thing. Your server tries to look up a host name for a local machine trying to connect to it; if it takes too long, the other machine can give up.

Often machines are configured to use the ISP's DNS server, which of course knows nothing about local machines. As long as it returns failure quickly, that's no problem: the server will continue on to look in its local files or its local DNS server. Sometimes the ISP's server isn't actually broken, but simply takes too long to respond, causing timeouts or extreme delays locally.


Hate these ads?


On a Unix or Linux box, DNS servers can be easily tested at the command line. Let's pretend your ISP DNS is 61.2.3.4:

dig @61.2.3.4 192.168.2.3

If that doesn't return quickly, local machines could experience problems. However, that test may not be enough to prove the issue. The absolute test is to change your configuration to take the ISP server right out of your configuration. If you comment out the nameserver in /etc/resolv.conf and local server issues improve, there obviously is a problem and it probably isn't at your end.

Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them.

I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.




Comments


Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments

If you want a picture to show with your comment, go get a Gravatar



Auto FTP Manager

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here


book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!





pavatar.jpg
More:
       - Networking




Related Posts

Troubleshooting: Preserve the Scene

Troubleshooting Mistakes

Troubleshooting network connections with arp

Troubleshooting Skills

The Art of Troubleshooting

EAGAIN error

Troubleshooting: Try something different

Unix Error Messages

Troubleshooting Mac OS X, Tiger Edition

Troubleshooting Index

Unix and Linux TroubleShooting Tips


Unix/Linux Consultants
Skills Tests







My Favorites

Change Congress