Installing BIND

As I said earlier, BIND by default installs into /usr/local on most platforms. It installs there so that it's kept out of the way of the vendor versions of BIND you might have installed. Mixing the two can cause many problems.

Unlike GNU software, no easy command-line switch exists to override the installation destination. You must override several makefile variables instead. These are defined in your architecture's port makefile, and a good place to override them is in the Makefile.set file. The following lists the variables:

VariableDefault ValueUse
DESTBIN/usr/local/binUser-level commands are installed here.
DESTSBIN/usr/local/sbinAdministration commands.
DESTEXEC/usr/local/sbinnamed-xferinstalls here.
DESTMAN/usr/local/share/man ...

Get Concise Guide to DNS and BIND, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.