Also, I note that in 17.04 (unlike 16.04), there is a unbound- resolvconf.service which has:
[Unit] Description=Unbound DNS server via resolvconf After=unbound.service PartOf=unbound.service ConditionFileIsExecutable=/sbin/resolvconf [Service] RemainAfterExit=yes ExecStart=/usr/lib/unbound/package-helper resolvconf_start ExecStop=/usr/lib/unbound/package-helper resolvconf_stop [Install] WantedBy=unbound.service which I believe causes it to follow the reloads of unbound.service. I'm not entirely sure if that's true, though, as PartOf appears to only propgate starts/stops (and thus restarts), but not reloads (there is a separate directive for this). Also, I am unable to reproduce the behavior you see in 16.04 (both restarts and reloads lose the state) afaict in 17.04? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1675192 Title: unbound forgets forwarder set via dhcp when config is reloaded To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unbound/+bug/1675192/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs