Patch: diff -Nur before/named.confd-r3 after/named.confd-r3 --- before/named.confd-r3 2010-02-25 02:37:49.000000000 -0800 +++ after/named.confd-r3 2010-02-25 02:37:49.000000000 -0800 @@ -6,6 +6,9 @@ # Leave this unchanged if you want bind to automatically detect the number #CPU="1" +# RNDC needs to be told what server we're using sometimes. +#SERVER="-s 127.0.0.1" + # If you wish to run bind in a chroot, run: # emerge --config =<bind-version> # and un-comment the following line. diff -Nur before/named.init-r7 after/named.init-r7 --- before/named.init-r7 2010-02-25 02:37:49.000000000 -0800 +++ after/named.init-r7 2010-02-25 02:37:49.000000000 -0800 @@ -95,7 +95,7 @@ ebegin "Stopping ${CHROOT:+chrooted }named" checkconfig || return 2 if [ -f $KEY ] ; then - rndc -k $KEY stop &>/dev/null + rndc $SERVER -k $KEY stop &>/dev/null else start-stop-daemon --stop --quiet --pidfile $PIDFILE \ --exec /usr/sbin/named -- stop @@ -133,7 +133,7 @@ if [ -f $KEY ] ; then ebegin "Reloading named.conf and zone files" - rndc -k $KEY reload &>/dev/null + rndc $SERVER -k $KEY reload &>/dev/null eend $? else /etc/init.d/named restart &>/dev/null fi
Applied. No revbump since it's quite obscure.