Thanks to Kevin Darcy on June 12, 2000 I am half working

Jim Reid jim at rfc1035.com
Thu Mar 22 20:30:23 UTC 2001


>>>>> "Brad" == Brad Knowles <brad.knowles at skynet.be> writes:

    Brad> 	In your /etc/named.conf (or /etc/rndc.conf) replace
    Brad> the string "%DESTRUN%" with the actual path to the socket
    Brad> that will be used for rndc.  For example, this might be
    Brad> /var/run/ndc, but of course the actual path to be used will
    Brad> depend on what OS you're using, etc....

Er, no. %DESTRUN% is supposed to be munged at compile-time to the
appropriate directory for the control socket on the chosen OS. Here's
an excerpt from the ndc Makefile:

pathnames.h: ${TOP}/.settings Makefile ../named/pathtemplate.h
        rm -f pathnames.h
        sed -e "s|%DESTSBIN%|${DESTSBIN}|" \
            -e "s|%DESTEXEC%|${DESTEXEC}|" \
            -e "s|%DESTETC%|${DESTETC}|" \
            -e "s|%DESTRUN%|${DESTRUN}|" \
            < ../named/pathtemplate.h > pathnames.h

It looks like someone didn't follow the installation instructions and
compile BIND8 properly. Or the config and install process is broken,
which is possible but unlikely.

BTW, rndc.conf only applies to BIND9 which does not use Unix domain
sockets for controlling the name server.


More information about the bind-users mailing list