Problem on installing/config bind
Stephen Liu
satimis at yahoo.com
Wed Oct 29 12:25:18 UTC 2008
--- Matus UHLAR - fantomas <uhlar at fantomas.sk> 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/
Hi Matus,
Sorry "named.root" can't work. Just tried it, named.roof file not
found.
> > 28-Oct-2008 13:41:30.752 default max-cache-size (33554432) applies:
> > view _bind
> > 28-Oct-2008 13:41:30.753 none:0: open:
> /usr/local/bind/etc/rndc.key:
> > file not found
>
> remove the /usr/local/bind here
Can't find the line "/usr/local/bind/etc/rndc.key" on
named.root/name.conf
# updatedb
# locate rndc.key
No printout
I think rndc.key not generated yet? I have to generate it with
"rndc-confgen" command?
# which rndc-confgen
No printout
# locate rndc-confgen
/usr/local/bind/man/man8/rndc-confgen.8
/usr/local/bind/sbin/rndc-confgen
/usr/local/bind/share/man/man8/rndc-confgen.8
/usr/local/src/bind-9.5.0/bin/rndc/rndc-confgen
/usr/local/src/bind-9.5.0/bin/rndc/rndc-confgen.8
/usr/local/src/bind-9.5.0/bin/rndc/rndc-confgen.c
/usr/local/src/bind-9.5.0/bin/rndc/rndc-confgen.docbook
/usr/local/src/bind-9.5.0/bin/rndc/rndc-confgen.html
/usr/local/src/bind-9.5.0/bin/rndc/rndc-confgen.o
/usr/local/src/bind-9.5.0/doc/arm/man.rndc-confgen.html
# ls -al /usr/local/bind/sbin/rndc-confgen
-rwxr-xr-x 1 root staff 1170161 Oct 28 03:36
/usr/local/bind/sbin/rndc-confgen
# ls -l /usr/local/src/bind-9.5.0/bin/rndc/rndc-confgen
-rwxr-xr-x 1 satimis satimis 1170161 Oct 28 03:35
/usr/local/src/bind-9.5.0/bin/rndc/rndc-confgen
Which "rndc-confgen" shall I use?
# man rndc-confgen
man: can't set the locale; make sure $LC_* and $LANG are correct
No manual entry for rndc-confgen
Whether following command line and path are correct to generate
rndc.key;
#rndc-confgen -a -c /usr/local/bind/etc/rndc.key
???
TIA
Other advice noted with thanks.
B.R.
Stephen L
Send instant messages to your online friends http://uk.messenger.yahoo.com
More information about the bind-users
mailing list