[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Yet another BIND9 issue...



OK,

I carefully created the rndc.conf & rndc.key files, placed
the required 'controls' & 'key' entries in the named.conf file
and this is what I get.........(using debug out (3) to stderr....
-----------------------------------------------------------------------

srv3-meb# /usr/local/sbin/named -t /var/named -u named -g -d 3
Nov 06 18:52:09.880 starting BIND 9.2.1 -t /var/named -u named -g -d 3
Nov 06 18:52:09.881 using 1 CPU
Nov 06 18:52:09.890 loading configuration from '/etc/named.conf'
Nov 06 18:52:09.891 set maximum stack size to 33554432: success
Nov 06 18:52:09.892 set maximum data size to 1073741824: success
Nov 06 18:52:09.892 set maximum core size to 9223372036854775807: success
Nov 06 18:52:09.892 set maximum open files to 1024: success
Nov 06 18:52:09.893 listening on IPv4 interface lo0, 127.0.0.1#53
Nov 06 18:52:09.893 clientmgr @0x457c0: create
Nov 06 18:52:09.895 clientmgr @0x457c0: createclients
Nov 06 18:52:09.895 clientmgr @0x457c0: create new
Nov 06 18:52:09.896 client @0x48c00: create
Nov 06 18:52:09.896 clientmgr @0x457c0: createclients
Nov 06 18:52:09.896 clientmgr @0x457c0: create new
Nov 06 18:52:09.897 client @0x50400: create
Nov 06 18:52:09.897 listening on IPv4 interface fxp0, 208.31.160.193#53
Nov 06 18:52:09.897 clientmgr @0x4ee40: create
Nov 06 18:52:09.897 clientmgr @0x4ee40: createclients
Nov 06 18:52:09.897 clientmgr @0x4ee40: create new
Nov 06 18:52:09.898 client @0x50c00: create
Nov 06 18:52:09.898 clientmgr @0x4ee40: createclients
Nov 06 18:52:09.898 clientmgr @0x4ee40: create new
Nov 06 18:52:09.899 client @0x57400: create
Nov 06 18:52:09.905 res 0x54b80: create
Nov 06 18:52:09.906 dns_requestmgr_create
Nov 06 18:52:09.906 dns_requestmgr_create: 0x7d080
Nov 06 18:52:09.906 dns_requestmgr_whenshutdown
Nov 06 18:52:09.907 replacing zone database
Nov 06 18:52:09.908 replacing zone database
Nov 06 18:52:09.909 command channel listening on 127.0.0.1#953				<--- Is this right????
Nov 06 18:52:09.909 /usr/ports/net/bind9/w-bind-9.2.1p1/bind-9.2.1/lib/isc/unix/errno2result.c:107: unexpected error:
Nov 06 18:52:09.910 unable to convert errno to isc_result: 6: Device not configured	<--- ERROR
Nov 06 18:52:09.910 could not open entropy source /dev/arandom: unexpected error	<--- BULLSHIT!  It *is* there....
Nov 06 18:52:09.910 ignoring config file logging statement due to -g option
Nov 06 18:52:09.927 load_configuration: success
Nov 06 18:52:09.927 zone poplar-ridge.org/IN: starting load
Nov 06 18:52:09.940 zone poplar-ridge.org/IN: number of nodes in database: 6
Nov 06 18:52:09.940 zone poplar-ridge.org/IN: loaded
Nov 06 18:52:09.941 no journal file, but that's OK
Nov 06 18:52:09.941 zone poplar-ridge.org/IN: journal rollforward completed successfully: no journal
Nov 06 18:52:09.941 zone poplar-ridge.org/IN: loaded serial 2002110607
Nov 06 18:52:09.942 dns_zone_maintenance: zone poplar-ridge.org/IN: enter
Nov 06 18:52:09.942 dns_zone_maintenance: zone version.bind/CH: enter
Nov 06 18:52:09.942 dns_zone_maintenance: zone authors.bind/CH: enter
Nov 06 18:52:09.942 running
Nov 06 18:52:09.943 client @0x48c00: udprecv
Nov 06 18:52:09.943 client @0x50400: accept
Nov 06 18:52:09.943 client @0x50c00: udprecv
Nov 06 18:52:09.943 client @0x57400: accept
Nov 06 18:52:09.944 zone_timer: zone poplar-ridge.org/IN: enter
Nov 06 18:52:09.944 zone_maintenance: zone poplar-ridge.org/IN: enter
Nov 06 18:52:09.944 zone_timer: zone version.bind/CH: enter
Nov 06 18:52:09.945 zone_maintenance: zone version.bind/CH: enter
Nov 06 18:52:09.945 zone_timer: zone authors.bind/CH: enter
Nov 06 18:52:09.945 zone_maintenance: zone authors.bind/CH: enter

-------------------------------------------------------
srv3-meb# pwd
/var/named/etc
srv3-meb# 
srv3-meb# ll
total 7
-rw-r--r--  1 named  wheel  2769 Nov  5 09:46 db.cache
-rw-r--r--  1 named  wheel   301 Nov  6 13:05 named.conf
-rw-r--r--  1 named  wheel   434 Nov  6 08:48 poplar-ridge.org.hosts
-rw-r--r--  1 root   wheel   479 Nov  6 13:04 rndc.conf
-rw-------  1 root   wheel    77 Nov  6 12:44 rndc.key
srv3-meb# 
srv3-meb# ll ../dev
total 0
crw-r--r--  1 root  wheel   45,   4 Oct 31 11:57 arandom
crw-rw-rw-  1 root  wheel    2,   2 Nov  5 09:11 null
crw-r--r--  1 root  wheel   45,   3 Oct 27 11:41 prandom
crw-r--r--  1 root  wheel   45,   0 Oct 27 11:41 random
crw-r--r--  1 root  wheel   45,   1 Oct 27 11:41 srandom
crw-r--r--  1 root  wheel   45,   2 Oct 31 11:57 urandom
srv3-meb# 

-----
srv3-meb# cat named.conf
options {
        directory "/etc";
        pid-file "/var/run/named.pid";
        };

key "rndc-key" {
      algorithm hmac-md5;
      secret "2FTzOKZD36gQ89uWf4Awmw==";
};

controls {
      inet 127.0.0.1 port 953
              allow { 127.0.0.1; } keys { "rndc-key"; };
};

zone "." {
        type hint;
        file "/etc/db.cache";
        };

zone "poplar-ridge.org" {
        type master;
        file "/etc/poplar-ridge.org.hosts";
        };

srv3-meb# 
--------------------
srv3-meb# cat rndc.conf
# Start of rndc.conf
key "rndc-key" {
        algorithm hmac-md5;
        secret "2FTzOKZD36gQ89uWf4Awmw==";
};

options {
        default-key "rndc-key";
        default-server 127.0.0.1;
        default-port 953;
};

srv3-meb# 

-----------------------------------------
srv3-meb# cat rndc.key
key "rndc-key" {
        algorithm hmac-md5;
        secret "Cu1ceKOBtcm4K8mpW6zJgA==";
};
srv3-meb# 
--------------

-- 
Randy Lewis, RTMX.NET
----
http://rtmx.net
----
919 644 6456 (Hillsborough NOC)
919 644 7869 (Hillsborough Engineering/Sales)
919 259 7869 (Chapel Hill)
919 328 7869 (Durham)
336 303 7869 (Greensboro)
919 227 7869 (Raleigh)
910 744 7869 (Wilmington)
336 531 7869 (Winston-Salem)