allow setting of program name via dns-iface-name option in interfaces(5).
When ifupdown has multiple addresses for a given interface, integration
with resolvconf is broken. This is because resolvconf is called for each
stanza, but the scripts in /etc/network/if-*.d/ invoke
resolvconf -a IFACE.PROG
or
resolvconf -d IFACE.PROG
with IFACE being the interface name, and PROG set to ADDRFAM, where
ADDRFAM is only 'inet' or 'inet6'.
The solution here is to allow the author of interfaces(5) to provide
the program name via option 'dns-iface-name'.
As an example:
auto eth0
iface eth0 inet static
address 138.197.98.102/20
gateway 138.197.96.1
dns-nameservers 8.8.8.8
dns-iface-name public0
iface eth0 inet static
address 10.17.0.11/16
dns-iface-name local
New changelog entries:
* debian/resolvconf.service: resolvconf service must run before any of the
possible network configuration services (ifupdown, networkd, NetworkManager)
so use network-pre.target instead of service names. (LP: #1636912)
New changelog entries:
* etc/resolvconf/resolv.conf.d/head: add comment about
'systemd-resolve --status', since systemd-resolved is now in use in all
but the most unusual configurations, and expert users should be given
guidance where to find the actual nameservers for debugging purposes.
LP: #1638836.
New changelog entries:
* Merge with Debian unstable. Remaining Ubuntu changes:
- debian/postinst: Make /etc/resolv.conf a relative symlink so that it
works when setting up chroots.
- Eliminate all references to /etc/resolvconf/run. This should all be done
directly in /run, there is no reason to support making any of this
configurable with a symlink since we already have a versioned dependency
on the version of initscripts that introduces the /run transition.
New changelog entries:
[ Thomas Hood ]
* Use which to test for availability of dnssec-triggerd
* [19003cb] Drop obsolete versioned dependencies.
Thanks to biebl (Closes: 804976)
* [b348580] Update README
* [7e33af8] Omit chown from example script resolvconf-update-bind.
Thanks to Marc Haber (Closes: #819498)
* [22bfead] Create runtime dir if it does not exist. (In some upgrade
scenarios resolvconf gets called before the postinst or initscripts
get run.) Thanks to Martin Pitt (LP: #1536335)