Re: [ILUG] Red Hat 7.1 woes

From: ccostelloe at domain flogas.ie
Date: Tue 02 Oct 2001 - 12:08:07 IST


Doh.

Just realised that the controls line goes in named.conf.

Thanks Paul!

Ciaran

> On Mon, 1 Oct 2001 ccostelloe at domain flogas.ie wrote:

> > or not, I have read through plenty, the zone files seem fine.

> there are 2 nice tools with bind 9, named-checkzone and > named-checkconf, they use the same parses as named itself.

> run the former on everyone of your zone files. if it says anything > but "OK", you have a problem with your zone file, and it might not > be loaded.

> also, get bind 9.1.3 (from rawhide, otherwise i have the RPMS somewhere).

Given the damage I could have inflicted on the configuration with my own tinkering, I decided to wipe everything and do a clean install of Red Hat 7.1 which went fine after a brief but successful row with wu-ftpd, which has also changed.

Tried named-checkzone on the localhost zone that Bind 9.1.0 installed (/var/named/localhost.zone), it spat out the same errors that it gave for my zone files: "out-of-zone data error" for the localhost line, "could not find NS and/or SOA records", "has 0 SOA records" and "no NS records" despite the presence of both in localhost.zone.

I'll upgrade to 9.1.3 and hopefully that resolves it.

> > are exactly as per the docs. However, rndc also gets it's > > connection refused.

> check the controls line. and the default-server in rndc.conf. eg:

> controls {
> inet * port 953 allow { "home-net"; localhost; } keys { ndckey; }; > };

Hmm, the default setup did not have a controls line, presumably that's why it got the "connection refused" error. Apart from the "key" section, it had:

options {
default-server localhost;
default-key "key";
};

server localhost {
key "key";
};

I'll try using your "controls" line tonight (ran out of time).

Thank you very much for your reply.

Ciaran

-- Irish Linux Users' Group: ilug at domain linux.ie http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information. List maintainer: listmaster at domain linux.ie



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:26 GMT