Network settings with custom DNS on Ubuntu Desktop 12.04(.5) LTS

So recently i set up a virtual Ubuntu desktop, so i could work with my vsphere web client.
However it took me some effort in using the DNS server on a remote network (connection via host to host VPN)

I kept getting the message that was my primairy dns and i couldnt reach certain url’s which i had setup in my DNS server.

Note: and epicurus are my DNS server.

I did the following to get it working.

First of all set the following in /etc/network/interfaces:

Edit by commenting out dnsmasq in /etc/NetworkManager/NetworkManager.conf

Perform a

do a ifconfig:

And a cat /etc/resolv.conf

Ping tests:


As you can see there is now a DNS server rather than the
This bug is caused by ubuntu using the DNSMASQ parameter. But as you can see you can bypass this by setting the correct settings.

I got help by:

Leave a Reply

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