> --- Matus UHLAR - fantomas wrote:
>
> > On 28.10.08 21:59, Stephen Liu wrote:
> > > Performed following test.
> > >
> > >
> > > # nano /usr/local/bind/etc/named.conf
> > > changing;
> > > /etc/name.root
> > >
> > > to;
> > > /usr/local/bind/etc/name.conf

> >
> > No. Use /etc/named.root (or name.root), named will chroot and search
> > for
> > pathnames from its own root, which is /usr/local/bind/


On 29.10.08 20:25, Stephen Liu wrote:
> Sorry "named.root" can't work. Just tried it, named.roof file not
> found.


I was pointing at your apparent typos.
use either /etc/named.root, /etc/name.root, or /etc/name.rooF, whatever file
you have in the directory.

Note that there's option "directory" for named, which specifies directory
named will chdir() into, so every file without full path is searched there.

> Can't find the line "/usr/local/bind/etc/rndc.key" on
> named.root/name.conf


Did you compile bind by yourself? 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.


--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Emacs is a complicated operating system without good text editor.