My Linux distro is Linux Mint 17 (Ubuntu 14.04.1 LTS (Trusty Tahr)). I am using NetworkManager.

The old trick does not work:

$ cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1

If you are using NetworkManager, the /etc/resolv.conf will point to your machine to dnsmasq as configured by NetworkManager. You can get the real DNS server you will use from NetworkManager by:

nm-tool | grep DNS

Similar Posts

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *