Troubleshooting DNS issues

DNS issues are typically rare, except in the case of an invalid configuration. In most cases, any troubleshooting you do would be done on your local DNS servers, as public DNS servers on the Internet are outside of your control. In the case of an external DNS server failing, such as that from your ISP, your only recourse might be to use a different DNS provider, such as utilizing Google's public DNS addresses of 8.8.8.8 and 8.8.4.4. But in the case of your local DNS server failing, you have more control.

As always, you would start troubleshooting DNS issues by checking whether or not you can reach the DNS server. First, check /etc/resolv.conf to see which DNS server your machine is using. Is it the correct server? If ...

Get Mastering Linux Network Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.