12.04 impossible to set manual dns in /etc/network/interfaces when bind is installed

Bug #972849 reported by Saivann Carignan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
resolvconf (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 12.04 Beta 2 Server
resolvconf : 1.63ubuntu11
network-manager : not installed

When setting manual dns servers in /etc/network/interfaces, they are always overridden by 127.0.0.1 in /etc/resolv.conf when bind is installed. Which makes it impossible to set manual dns servers. This becomes a serious issue when bind is configured to be authoritative and not recursive for the use on a web server for instance.

If bind is uninstalled and that the computer is rebooted, resolvconf correctly uses the values in /etc/network/interfaces . If bind is reinstalled and that the computer is rebooted, resolvconf put 127.0.0.1 again in resolv.conf

/etc/network/interfaces :
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.