Re: RE : bind : zone file not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 12 Feb 2004 14:26:02 +0100
"sid" <s.i.d@xxxxxxx> 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@xxxxxxx	(
|> 				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@xxxxxxx	(
|> 				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@xxxxxxxxxx [mailto:fedora-list-admin@xxxxxxxxxx]
|> De la part de Christopher K. Johnson
|> Envoyé : jeudi 12 février 2004 13:42
|> À : fedora-list@xxxxxxxxxx
|> 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@xxxxxxxxxx>
++++++++++++++++++
"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

Attachment: pgpn4oIDwk8if.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux