retitle 562031 tell resolvconf about unbound on localhost thanks also sprach Ondřej Surý <ond...@sury.org> [2010.01.07.0534 +1300]: > add '[ "X$RESOLVCONF" != "Xno" ] &&' here and set RESOLVCONF=yes > (or no) to /etc/default/unbound > > I think, you don't have to cover all the cases, just the most > simple one.
I don't think this proposal is a good idea at all. First, unbound may not be running on 127.0.0.1/::1, and second, what you propose is a trivial change that the admin can make in /etc/network/interfaces. I don't think the package should do that, since it's a policy decision. I suggest instead to add a note to the README that unbound can be top-inserted as a resolver by adding iface lo inet loopback … dns-nameservers ::1 to the lo stanza in /etc/network/interfaces and bringing down/up lo. Alternatively, after adding it, you can echo nameserver ::1 > /etc/resolvconf/run/interface/lo.inet resolvconf -u to avoid having to bring the iface down. Use 127.0.0.1 if you don't have working IPv6. -- .''`. martin f. krafft <madd...@d.o> Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduck http://vcs-pkg.org `- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)