how do I get Bind to use /etc/named.conf by default

Jim Reid jim at rfc1035.com
Thu Jun 8 22:10:27 UTC 2000


>>>>> "Anthony" == Anthony Golia <Anthony.Golia at msdw.com> writes:

    Anthony> instead of /usr/local/etc/named.conf ?  -- Anthony

[1] Use the source.
[2] Use a platform where /etc/named.conf is the default.
[3] Make /etc/named.conf a symbolic link to /usr/local/etc/named.conf.

For [1], you could change the value of DESTETC in the appropriate
Makefile in the ports/ directory. The build process uses these make
variables to generate a pathname.h file that contains default pathnames.
Take a look at the Makefile in src/bin/named for the general idea how
this .h file is generated.



More information about the bind-users mailing list