Problem on installing/config bind

Stephen Liu satimis at yahoo.com
Tue Oct 28 05:25:10 UTC 2008


--- "Jeremy C. Reed" <Jeremy_Reed at isc.org> wrote:

> On Tue, 28 Oct 2008, Stephen Liu wrote:
> 
> > # /usr/local/bind/sbin/named -u named -t /usr/local/bind -c
> > /etc/named.conf
> > No printout
> 
> Start it with -g switch also to "Run the server in the foreground and
> 
> force all logging to stderr." Or look in the log file to see what 
> happened.
> 
> That may give you better clues on where the problem is.


Hi Jeremy,


Debian Etch


Further to my last posting I found the cause of the problem.


# /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";


# /usr/local/bind/sbin/named -u named -t /usr/local/bind -c
/etc/named.conf -g
28-Oct-2008 05:01:30.081 starting BIND 9.5.0 -u named -t
/usr/local/bind -c /etc/named.conf -g
28-Oct-2008 05:01:30.083 loading configuration from '/etc/named.conf'
28-Oct-2008 05:01:30.084 listening on IPv4 interface lo, 127.0.0.1#53
28-Oct-2008 05:01:30.085 listening on IPv4 interface eth0,
192.168.0.203#53
28-Oct-2008 05:01:30.085 could not configure root hints from
'named.root': file not found
28-Oct-2008 05:01:30.085 loading configuration: file not found
28-Oct-2008 05:01:30.085 exiting (due to fatal error)
* end *


Still the same.


Whether it is necessary to put the full path of "/named.root"?  If YES,
what will be the full path?


On which file specifies ROOTDIR?  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


More information about the bind-users mailing list