I'm new to Fedora but having been using RH (charcter mode) for a long time.
I'm trying to set up a DNS server to service my local network but although I know what I want to do, I can't find out how to do it.
I know all the files I want and what I want them to contain but everything seems to keep telling me that I shouldn't edit such files as /etc/named.conf directly, I should use system-config-bind.
OK, I can still do my own thing but things are much more clouded than that and any help would be much appreciated.
chroot seems to be in effect, pointing to the directory /var/named/chroot. (sysconfig/named has ROOTDIR=/var/named/chroot and rc.d/named runs daemon /user/sbin/named -u named -t /var/named/chroot)
I've used system-config-bind to set up the zone I want (and also a reverse zone) but when I look at the files in the chroot structure, they don't seem to contain enough information, for example etc/named.conf contains only
zone "tel" {
type master;
file "tel.zone";
allow-update { none; };
};
zone "0.168.192.in-addr.arpa" {
type master;
file "0.168.192.in-addr.arpa.zone";
};
("tel" is my new zone) but I'd have expected all the other stuff; options, controls, zone ".", zone "localhost" and include of rndc.key.
Also rndc is failing to connect ( "rndc: connect failed: connection refused" ). Perhaps this is a result of the missing rndc.key above?
This is the first time I've worked with a chroot jail-based setup as well as with the GUI interface and I confuse so easily!