I enabled the bind9-resolvconf service and restarted my system, because I want to use the named running on localhost as my nameserver.
Even after the restart, however, the nameservers in /etc/resolv.conf (actually /var/run/resolvconf/resolv.conf) were still the ones provided by DHCP. This, despite the fact that the logs claim that bind9-resolvconf ran successfully during boot.
I tried manually running "sudo systemctl start bind9-resolv.conf", and again, the logs claim it ran, but /etc/resolv.conf was unmodified.
Finally, I manually ran "sudo /bin/sh -c 'echo nameserver 127.0.0.1 | /sbin/resolvconf -a lo.named'", i.e., the command listed in /lib/systemd/system/bind9-resolv.conf.service, and _that_ successfully updated /etc/resolv.conf.
After doing that, interestingly, "sudo systemctl stop bind9-resolv.conf" _also_ doesn't change /etc/resolv.conf, i.e., it still retains the 127.0.0.1 line which I added by running the resolvconf command manually.
I enabled the bind9-resolvconf service and restarted my system, because I want to use the named running on localhost as my nameserver.
Even after the restart, however, the nameservers in /etc/resolv.conf (actually /var/run/ resolvconf/ resolv. conf) were still the ones provided by DHCP. This, despite the fact that the logs claim that bind9-resolvconf ran successfully during boot.
I tried manually running "sudo systemctl start bind9-resolv.conf", and again, the logs claim it ran, but /etc/resolv.conf was unmodified.
Finally, I manually ran "sudo /bin/sh -c 'echo nameserver 127.0.0.1 | /sbin/resolvconf -a lo.named'", i.e., the command listed in /lib/systemd/ system/ bind9-resolv. conf.service, and _that_ successfully updated /etc/resolv.conf.
After doing that, interestingly, "sudo systemctl stop bind9-resolv.conf" _also_ doesn't change /etc/resolv.conf, i.e., it still retains the 127.0.0.1 line which I added by running the resolvconf command manually.
ProblemType: Bug dfsg-11ubuntu1. 2 ature: Ubuntu 4.2.0-25.30-generic 4.2.6 dules: nvidia ersions: dfsg-11ubuntu1. 2 conffile. .etc.bind. named.conf: [modified] conffile. .etc.bind. named.conf. local: [modified] .etc.bind. named.conf: 2016-01- 16T19:01: 39.827033 .etc.bind. named.conf. local: 2016-01- 16T21:13: 51.991632
DistroRelease: Ubuntu 15.10
Package: bind9 1:9.9.5.
ProcVersionSign
Uname: Linux 4.2.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Jan 20 08:03:35 2016
InstallationDate: Installed on 2016-01-16 (4 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
RelatedPackageV
bind9utils 1:9.9.5.
apparmor 2.10-0ubuntu6
SourcePackage: bind9
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
mtime.conffile.
mtime.conffile.