RE: DNS problem

LULANI Olsi <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
Check the startup script because the bind daemon is started wit certain
options that seem to have something wrong. Ususally bind is specified with
user/group   named/named. The startup scripts are run with root priviledges
so it is highly likely that this is the cause of the inability to write in
/var/run.
Also your config file is missing an include line that includes a key for the
rndc control channel.
Also check for the existence of rndc.conf in the /etc directory. The daemon
has not found any say ethernet interface, so it is listening only in the
loopback that is always available.
So get a ready made named.conf file and modify only the zone parts. Do not
modify the rest. For more details read the bind 9 manual at www.isc.org.

Sincerely
Mr. Olsi Lulani


-----Original Message-----
From: Blessing Kamutande [mailto:[email protected]] 
Sent: Wednesday, March 12, 2003 7:48 AM
To: [email protected]
Subject: DNS problem

Hie All
I am trying to setup a DNS server on my local intranet and I'm trying to
configure a DNS server using BIND 9.1.* also I have installed bind-utils and
caching-nameserver.
Now when I start named I get the following message from /var/log/messages

Mar 11 23:47:31 blessing named[1240]: starting BIND 9.1.3
Mar 11 23:47:31 blessing named[1240]: using 1 CPU
Mar 11 23:47:31 blessing named[1242]: loading configuration from
'/etc/named.conf'
Mar 11 23:47:31 blessing named[1242]: the default for the 'auth-nxdomain'
option is now 'no'
Mar 11 23:47:31 blessing named[1242]: type 'inet' control channel has no
'keys' clause; control channel will be disabled
Mar 11 23:47:31 blessing named[1242]: no IPv6 interfaces found
Mar 11 23:47:31 blessing named[1242]: listening on IPv4 interface lo,
127.0.0.1#53
Mar 11 23:47:31 blessing named[1242]: no key statements for use by control
channels
Mar 11 23:47:31 blessing named[1242]: couldn't open pid file
'/var/run/named/named.pid': Permission denied
Mar 11 23:47:31 blessing named[1242]: exiting (due to early fatal error)
Mar 11 23:52:49 blessing named[1250]: starting BIND 9.1.3
Mar 11 23:52:49 blessing named[1250]: using 1 CPU
Mar 11 23:52:50 blessing named[1252]: loading configuration from
'/etc/named.conf'
Mar 11 23:52:50 blessing named[1252]: /etc/named.conf:8: parse error near
keys
Mar 11 23:52:50 blessing named[1252]: loading configuration: failure
Mar 11 23:52:50 blessing named[1252]: exiting (due to fatal error)

Below are my configuration files ( named.conf, kamutande.co.zw.zone,
68.168.192.in-addr.arpa.zone (NAMED.LOCAL) and named.rev )

NAMED.CONF
## named.conf - configuration for bind
#
# Generated automatically by bindconf, alchemist et al.
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
 
include "/etc/rndc.key";

options { 
	directory "/var/named/"; 	
};


zone  "." { 
	type hint; 
	file  "named.ca";
};


zone  "0.0.127.in-addr.arpa" { 
	type master; 
	file  "0.0.127.in-addr.arpa.zone"; 
};
zone  "68.168.192.in-addr.arpa" { 
	type master; 
	file  "68.168.192.in-addr.arpa.zone"; 
};


zone  "kamutande.co.zw" { 
	type master; 
	file  "kamutande.co.zw.zone"; 
};
zone  "gift.co.zw" { 
	type master; 
	file  "gift.co.zw.zone"; 
};
zone  "peace.co.zw" { 
	type master; 
	file  "peace.co.zw.zone"; 
};




kamutande.co.zw.zone file
$TTL 86400
@	IN	SOA	kamutande.co.zw.  root.kamutande.co.zw (
			7 ; serial
			28800 ; refresh
			7200 ; retry
			604800 ; expire	
			86400 ; ttl
			)


@	IN	NS	blessing.kamutande.co.zw

@	IN	MX	10	blessing.kamutande.co.zw.

blessing	IN	A	192.168.68.8
@	IN	A	192.168.68.8
localhost.	IN	A	127.0.0.1



68.168.192.in-addr.arpa.zone FILE

$TTL 86400
@	IN	SOA	blessing.kamutande.co.zw.	root.localhost (
			9 ; serial
			28800 ; refresh
			7200 ; retry
			604800 ; expire	
			86400 ; ttk
			)


@	IN	NS	blessing.kamutande.co.zw.

8	IN	PTR	blessing.kamutande.co.zw.


0.0.127.in-addr.arpa.zone FILE (named.rev)
$TTL 86400
@	IN	SOA	blessing.kamutande.co.zw.	root.localhost (
			4 ; serial
			28800 ; refresh
			7200 ; retry
			604800 ; expire	
			86400 ; ttk
			)


@	IN	NS	blessing.kamutande.co.zw.

1	IN	PTR	localhost.


Please help me. How do I correctly setup the 

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup



_______________________________________________
enigma-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/enigma-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.