This is a discussion on Re: Problem on installing/config bind - DNS ; --- Matus UHLAR - fantomas 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 ...
--- Matus UHLAR - fantomas
> > > 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
> > > time.
> On 29.10.08 23:09, Stephen Liu wrote:
> > xen03:/usr/local/src/bind-9.5.0#./configure
> 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
> "-c" command line option, and for other files in
> So now you need to specify named.conf file (which you already do) and
> to use "directory" option in the config file for other files not to
> 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/
I'm still searching around whether bind-9.5.0 needs rdnc.key. If YES
then how to create it. Any advice? TIA
Send instant messages to your online friends http://uk.messenger.yahoo.com