How to setup dns resolver in Ubunut 12 server ?
Posted on 2012-08-16
My first Precise Pangolin deployment.
I'm having issues with dns resolution not working - turns out /etc/resolv.conf is not anymore the place to manage this.
I tried to add “dns-nameservers”, “dns-search” and “dns-domain” entries in /etc/network/interfaces but they don't seem to work either (no server could be reached error, although I can ping those listed with dns-nameservers.
My interfaces files reads
iface eth0 inet static
dns-nameservers 172.16.200.25 172.16.100.5
If I do a host xxx.domain.com 172.16.200.25 it works - it's just that there is a config problem with default resolvers.
What am I missing ?