On July 19, [EMAIL PROTECTED] said: > Thanks a lot for the script.
Yer welcome! > The best place for the script would be in the package containing > the dnscache program. Right. That makes a lot of sense. i think i was confused by /etc/resolvconf/update.d/bind being part of resolvconf instead of bind or bind9. > I take it there no such package in Debian. Should there be one? > What is the situation? There is a djbdns-installer package which is used to fetch and build a djbdns package from djb's source directly (for licensing reasons). i just checked the bugs for that package [0], and it looks like Martin F Krafft has supplied a similar script in bug 294208 [1] five months ago, but it hasn't been acted on. My script is a bit more automatic than Mr. Krafft's (scanning for dnscache instances, only tampering with FORWARDONLY instances, etc), but his is simpler and more easily customizable for the common case of exactly one local dnscache. And his proposal of adding 'nameserver 127.0.0.1' to /etc/resolvconf/resolv.conf.d/base for a running dnscache is extremely useful. Actually, it strikes me that it might be good for bind and dnscache (and other packages which provide resolving nameservers) to act as both producers and consumers to resolvconf. That is, there should be some way that, when they come up, they can announce "hey, i'm providing a nameserver at 127.0.0.1" (for example), which other services (like the libc resolver libraries) can pick up on. This would let you bring the service up and down and the other resolvconf consumers would automatically reconfigure. The danger in implementing this is that you might create a referral loop, i guess. you've probably already thought about it. Feel free to merge this bug with 294208, if you think that's the right thing to do. Regards, --dkg [0] http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&data=djbdns-installer&archive=no [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=294208 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]