Having stumbled on the new /etc/resolv.conf methods of Ubuntu 12.04 a number of times, I hope this is useful for you as well.
The contents of /etc/resolv.conf in Ubuntu are now controlled by “dns-nameservers #.#.#.#” in your /etc/network/interfaces file, like this:
# The primary network interface
iface eth0 inet static
dns-nameservers 22.214.171.124 126.96.36.199
2 thoughts on “Ubuntu 12.04, DNS, and Static IPs”
Since a lot of people read this it might be better to use 188.8.131.52 as the second address 🙂
Ran into this one myself this week.
Comments are closed.