Level 1
0 / 100 XP

Trouble-Shooting DNS Client Issues

**Scenario: **

A User calls you on the phone and tells you that she cannot get to the internet.

As you know part of a sys. admin job is helping out your users when they can’t get to the internet. For many employees, a lot of their work is done from the internet, so chances are she needs her connection up and running as soon as possible.

The question that should come to your mind, is. Does this mean that there is a problem with our network or is this a problem with the user’s machine?

  • You go to the user’s computer, open a command prompt and try to recreate the problem by typing ping google.com. You cannot ping google.com. So, does that mean the whole internet or network is down? Or is there something wrong at the local ISP?

You ask the other users and they can all get to the internet.

So, the problem is probably not the network or the internet.

  • If you have been listening to the lectures by now you know that DNS allows you to get to a target destination by using a name. Because that is what Domain Name Service does it translates that name to an IP address.
  • So now if I type ping 8.8.8.8, which is googles public DNS server.
  • But before I press return, let’s think about this, if I cannot ping google.com by name but I can ping google.com by IP address, what would the problem be? I think we could say that it starting to look more like a DNS name resolution issue. So, now we have effectively narrowed down our list of potential causes of this problem to a possible name resolution issue.
  • And I see that I can ping 8.8.8.8
  • So, I am failing to reach google by its name but successfully reaching google by its IP address. Again, more evidence of a name resolution issue.
  • How can we check this? From the command prompt type ipconfig /all
  • The question is what is this machine using for DNS name resolution?

We can see that the DNS server is set to loopback, which is 127.0.0.1.

This effectively means that name reso…