Problem on installing/config bind
Barry Margolin
barmar at alum.mit.edu
Tue Oct 28 05:44:55 UTC 2008
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?
> 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.
--
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE don't copy me on replies, I'll read them in the group ***
More information about the bind-users
mailing list