Problem on installing/config bind
Stephen Liu
satimis at yahoo.com
Tue Oct 28 06:24:37 UTC 2008
--- Barry Margolin <barmar at alum.mit.edu> wrote:
> In article <ge681e$2jc6$1 at sf1.isc.org>, Stephen Liu
> <satimis at yahoo.com>
> wrote:
>
> > # /usr/local/bind/sbin/named -u named -t /usr/local/bind -c
> > /etc/named.conf -g
> > 28-Oct-2008 05:20:24.545 starting BIND 9.5.0 -u named -t
> > /usr/local/bind -c /etc/named.conf -g
> > 28-Oct-2008 05:20:24.547 loading configuration from
> '/etc/named.conf'
> > 28-Oct-2008 05:20:24.548 listening on IPv4 interface lo,
> 127.0.0.1#53
> > 28-Oct-2008 05:20:24.549 listening on IPv4 interface eth0,
> > 192.168.0.203#53
> > 28-Oct-2008 05:20:24.549 could not configure root hints from '
> > /etc/named.root': file not found
> > 28-Oct-2008 05:20:24.549 loading configuration: file not found
> > 28-Oct-2008 05:20:24.549 exiting (due to fatal error)
> > * end *
> >
> >
> > # cat named.conf
> > options {
> > directory "/namedb";
> > version "I do not give any version info";
> > pid-file "/var/run/named.pid";
> > allow-transfer { none ;};
> > };
> >
> > zone "." IN {
> > type hint;
> > file " /etc/named.root";
> > };
> > * end *
> >
> >
>
> > Changing the line;
> > file " /etc/named.root";
> >
> > to;
> > file "named.root";
>
> Why did you write /etc/named.root if the file isn't really in /etc?
Hi Barry,
The line was there. According to Posfix Virtual doc I download the
file on;
ftp://ftp.internic.com/domain/named.root
> > Whether it is necessary to put the full path of "/named.root"?
>
> Whatever you want. Any files without a full path will be resolved
> relative to the directory you specified in the "directory" option.
>
> > If YES,
> > what will be the full path?
>
> In your case, it apparently should be /namedb/named.root.
Tested. Problem still remains;
# /usr/local/bind/sbin/named -u named -t /usr/local/bind -c
/etc/named.conf -g
28-Oct-2008 06:13:14.897 starting BIND 9.5.0 -u named -t
/usr/local/bind -c /etc/named.conf -g
28-Oct-2008 06:13:14.899 loading configuration from '/etc/named.conf'
28-Oct-2008 06:13:14.900 listening on IPv4 interface lo, 127.0.0.1#53
28-Oct-2008 06:13:14.901 listening on IPv4 interface eth0,
192.168.0.203#53
28-Oct-2008 06:13:14.901 could not configure root hints from
'/namedb/named.root': file not found
28-Oct-2008 06:13:14.901 loading configuration: file not found
28-Oct-2008 06:13:14.901 exiting (due to fatal error)
# cat named.conf
options {
directory "/namedb";
version "I do not give any version info";
pid-file "/var/run/named.pid";
allow-transfer { none ;};
};
zone "." IN {
type hint;
file "/namedb/named.root";
};
* end *
Tried before changed the line as;
file "named.root";
and;
file "/namedb/etc/named.root";
No improvement found.
B.R.
Stepnen
Send instant messages to your online friends http://uk.messenger.yahoo.com
More information about the bind-users
mailing list