bind : zone file not found

jason pearl jason at jpearl.org
Thu Feb 12 17:35:29 UTC 2004


On Thu, 12 Feb 2004 14:26:02 +0100
"sid" <s.i.d at free.fr> wrote:

|> this is long but here is how my dns is configure.
|> bind-chroot-....rpm  made the directories
|> and I used redhat-config-bind to do this config.
|> 
|> 
|> /var/named/chroot	
|> 
|> 	/dev/null
|> 	     random
|> 	
|> 	/etc/localtime
|> 	      named.conf
|> 	      named.custom
|> 	      mdc.key
|> 			
|> 	/var/named/0.0.127.in-addr.arpa.zone
|> 		   0.168.192.in-addr.arpa.zone
|> 		   localhost.zone
|> 		   sid.local.zone
|> 			
|> 		    /chroot/dev/null
|> 				random
|> 			   /etc/localtime
|> 	                         named.conf
|> 	                         named.custom
|> 	                         mdc.key	
|> 			   /var/named/
|> 				/run/
|> 				/temp/
|> 		    /slaves/
|> 	
|> 	/run/named/named.pid
|> 	
|> 	/temp/
|> 
|> ----------------------------------------------------------------------
|> #Here my named.conf#
|> ----------------------------------------------------------------------
|> one "sid.local" { 
|> 	type master;
|> 	file "sid.local.zone";
|> };
|> zone "0.168.192.in-addr.arpa" { 
|> 	type master;
|> 	file "0.168.192.in-addr.arpa.zone";
|> };
|> zone "0.0.127.in-addr.arpa" { 
|> 	type master;
|> 	file "0.0.127.in-addr.arpa.zone";
|> };
|> zone "localhost" { 
|> 	type master;
|> 	file "localhost.zone";
|> };
|> ----------------------------------------------------------------------
|> #named.custom#
|> ----------------------------------------------------------------------
|> # Any changes not currently supported by redhat-config-bind should be
|> put 
|> # in this file.
|> #
|> 
|> zone  "." { 
|> 	type hint; 
|> 	file  "named.ca";
|> };
|> 
|> ----------------------------------------------------------------------
|> #sid.local.zone#
|> ----------------------------------------------------------------------
|> $ORIGIN sid.local.
|> $TTL 86400
|> slin.sid.local.	IN	SOA	slin.sid.local.	s.i.d at free.fr	(
|> 				28 ; serial
|> 				28800 ; refresh
|> 				14400 ; retry
|> 				3600000 ; expire
|> 				86400 ; ttl
|> 				)
|> 
|> 
|> 
|> slin	IN	NS	slin
|> 
|> slin	A	IN	A	192.168.0.254
|> 
|> ----------------------------------------------------------------------
|> #0.168.192.in-addr.arpa.zone#
|> ----------------------------------------------------------------------
|> $TTL 86400
|> slin.sid.local.	IN	SOA	slin.sid.local.	root	(
|> 				24 ; serial
|> 				28800 ; refresh
|> 				14400 ; retry
|> 				3600000 ; expire
|> 				86400 ; ttl
|> 				)
|> 
|> 
|> 
|> slin	IN	NS	slin
|> 
|> 
|> 
|> 
|> 254		IN	PTR	slin.sid.local.
|> ----------------------------------------------------------------------
|> #localhost.zone#
|> ----------------------------------------------------------------------
|> $ORIGIN localhost.
|> $TTL 86400
|> slin.sid.local.	IN	SOA	slin.sid.local.	s.i.d at free.fr	(
|> 				22 ; serial
|> 				28800 ; refresh
|> 				14400 ; retry
|> 				3600000 ; expire
|> 				86400 ; ttl
|> 				)
|> 
|> 
|> 
|> localhost	IN	NS	slin
|> 
|> 
|> 
|> 
|> 254		IN	PTR	localhost.
|> ----------------------------------------------------------------------
|> #0.0.127.in-addr.arpa.zone#
|> ----------------------------------------------------------------------
|> $TTL 86400
|> slin.sid.local.	IN	SOA	slin.sid.local.	root	(
|> 				24 ; serial
|> 				28800 ; refresh
|> 				14400 ; retry
|> 				3600000 ; expire
|> 				86400 ; ttl
|> 				)
|> 
|> 
|> 
|> localhost	IN	NS	slin
|> 
|> 
|> 
|> 
|> 1		IN	PTR	localhost.
|> 
|> -----Message d'origine-----
|> De : fedora-list-admin at redhat.com [mailto:fedora-list-admin at redhat.com]
|> De la part de Christopher K. Johnson
|> Envoyé : jeudi 12 février 2004 13:42
|> À : fedora-list at redhat.com
|> Objet : Re: bind : zone file not found
|> 
|> sid wrote:
|> 
|> >
|> > Feb 11 17:52:55 slin named[32041]: starting BIND 9.2.2-P3 -u named -t 
|> > /var/named/chroot
|> >
|> >
|> > What sort of mistake do I?

they should point to /var/named/chroot/etc/  and it will have a .hosts
filename and not .zone filename.    for example mine is jpearl.org.hosts and
is located in the dir stated above...

-- 
jason pearl <jason at jpearl.org>
++++++++++++++++++
"Keep your friends close and your enemies closer"-Tupac  
++++++++++++++++++
Kurrupted Visionz Phx, AZ    registered linux user #307811
RHEL WS 3.0 Linux                Machine# 193475, 227341
AMD64 Opteron 1.6  ASUS SK8N     http://counter.li.org
uptime
10:32:23 up 2 days, 11:59, 2 users, load average: 0.04, 0.04, 0.00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040212/15e25f58/attachment-0001.sig>


More information about the fedora-list mailing list