Quantcast
Channel: ISP DNS Server used Instead of Local DNS - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2

ISP DNS Server used Instead of Local DNS

0
0

The Issue

On my company's internal network, there is a development server called devserver.mycompany.com

Usually I can connect to this server with out issue, but sometimes (seems random to me) Ubuntu won't be able to resolve the address.

Other Information and Observations

When I run nmcli dev list iface eth0 in a terminal, I see that there are two configured DNS Servers:

IP4.DNS[1]:                             192.168.50.103
IP4.DNS[2]:                             128.255.1.3

The second dns server is my ISP's server.

I never have this issue on my Windows partition which is configured to use the same two DNS Servers.

When I am experiencing the issue:

  • nslookup devserver.mycompany.com fails
  • nslookup devserver.mycompany.com 128.255.1.3 fails all the time (no surprise, devserver is not a public server)
  • nslookup devserver.mycompany.com 192.168.50.103 works

Here's the actual output of nslookup:

Ubuntu-14:~$ nslookup devserver.mycompany.com
Server:     127.0.1.1
Address:    127.0.1.1#53

** server can't find devserver.mycompany.com: NXDOMAIN

Questions

  • From the above output, it looks like Ubuntu is trying to use a local DNS server. Correct? Is it caching a failed lookup on my local machine?
    • If it is caching, how can I clear the cache?
  • Is Ubuntu using this second DNS server sometimes? Why? Is it load balancing? Is the local one slower?
  • How should I fix this? I don't want to remove the second DNS server in case the primary one goes down.
  • And finally, why don't I experience this issue in Windows?

Ubuntu Version Information

ubuntu 14.04 LTS with no outstanding updates.

All the networking was setup more or less automatically. Using DHCP


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images