Redhat 7 + bind 9

Darren Evans darren at horseplay.demon.co.uk
Sun Feb 25 23:01:37 UTC 2001



These are the configuration options i've used to compile it.

# sh configure --prefix=/usr/local --sysconfdir=/etc  --localstatedir=/var
--mandir=/usr/local/man --disable-threads

I am getting this error message, I suspect this is the reason it cannot
serve requests, although i'm not sure if this means it cannot create
/var/run/ndc or that there is another issue lurking, like it's Redhat 7
related.

# named-checkconf
type 'unix' control channels are not implemented

named.conf
options {
         directory "/var/named" ;
         listen-on {
         1.2.3.4;
         127.0.0.1;
         };
         listen-on port 53 { any; };
         auth-nxdomain yes;              // always set AA on NXDOMAIN.
};

controls {
         unix "/var/run/ndc" perm 0600 owner 25 group 25;
         inet 127.0.0.1 allow { 127.0.0.1; } keys { localkey; };
};

key localkey {
         algorithm hmac-md5;
//        secret "some-base-64-string-also-in-rndc.conf";
         secret "blahblahblahetc";
};
etc etc


# named -d 8 -u named fires off named but it won't serve and requests on the
ip, let's say 1.2.3.4, but by doing a nslookup - 127.0.0.1 I can resolve 
addresses.

named    27887  0.5  0.2  4100 2688 ?        S    22:41   0:00 named -d 8 
-u named

Another oddity is that this command gives me this message.

# rndc start
rndc: /etc/rndc.conf: already exists

/etc/rndc.conf
options {
         default-server 127.0.0.1;
         default-server 1.2.3.4;
         default-key     "localkey";
};

server localhost {
         key     "localkey";
};

key "localkey" {
         algorithm       hmac-md5;
         secret "blahblahblahetc";
};


I've spent a while searching lists and suchlife, it would be nice to
see DNS and BIND updated for version 9.


Darren



More information about the bind-users mailing list