I have setup my mythtv server (runnning ubuntu 12.04) to have a static IP address.

This is required because the IPAddress must be hardcoded in the mythtv server settings and if it changes the the mythtv client will not be able to connect.

I did this using the UI (command line answers will not be accepted) using: Network Connections -> Wired -> Edit -> IPv4

and setting the settings as follows:

enter image description here

This works great for mythtv however I can no longer access the internet via domain names. if I use the IPaddress it works but I can't resolve the DNS entries.

If I look at Connection Information UI it does not list any Primary DNS: (entry is not there at all) like it is when on DHCP.

enter image description here

How do I configure my DNS with a static IPAddress using the GUI?

  • You are entering the settings correctly. Are you sure is your DNS server? What happens if you enter And what is the output of host www.google.com run in a terminal when using the regular DNS server? – gertvdijk Jul 22 '13 at 8:46
  • I'm sure is my DNS server because my other computers which are using DHCP have this listed as there primary DNS in Connection Information – trampster Jul 22 '13 at 8:53

As a final resort I disabled and then enabled my networking. This solved the problem. It appears that the connection manager can't apply the connection settings until the connection is restarted.

The user interface gives no indication that the settings are not yet applied. Which is really quite poor.

  • 1
    This really is a bug then. I mean, I have never had any issues, while I'm using this quite often (got several Wired Connection configurations in all sorts). – gertvdijk Jul 22 '13 at 9:02

I don't know how to do it via the gui, but if you type:

echo nameserver >> /etc/resolv.conf

as 'root' that should work for you (if you aren't root, you'll need to through a sudo in front of that).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.