> On Mon, 1 Oct 2001 ccostelloe at 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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!