--- Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote: > > > Did you set prefix to > > > /usr/local/bind or etcdir to /usr/local/bind/etc? > > > > > > named will by default search in directories you configured at > compile > > > time. > > > On 29.10.08 23:09, Stephen Liu wrote: > > xen03:/usr/local/src/bind-9.5.0#./configure > --prefix=/usr/local/bind > > in such case, named will work in /usr/local/bind and search for > config file > in /ust/local/bind/etc. > > If you chroot to /usr/local/bind, named will search for default > config file > /usr/local/bind/usr/local/bind/etc/named.conf, unless you provide any > with > "-c" command line option, and for other files in > /usr/local/bind/usr/local/bind/etc/ > > (chrootdir/prefixdir/...). > > So now you need to specify named.conf file (which you already do) and > have > to use "directory" option in the config file for other files not to > be > searched in /usr/local/bind/usr/local/bind/etc/.
Noted and thanks. But I can't find; # ls /usr/local/bind/usr/local/bind/etc/ ls: /usr/local/bind/usr/local/bind/etc/: No such file or directory # ls /usr/local/bind/usr/local ls: /usr/local/bind/usr/local: No such file or directory # ls /usr/local/bind/usr/ ls: /usr/local/bind/usr/: No such file or directory # ls /usr/local/bind bin dev etc include lib man namedb sbin share var The default directory is; # ls /usr/local/bind/etc/ localtime named.conf named.root I'm still searching around whether bind-9.5.0 needs rdnc.key. If YES then how to create it. Any advice? TIA B.R. Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com