RE : bind : zone file not found

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

 



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?

I am guessing because you did not say where those zone files are
located.
Notice that named is starting chroot'd to /var/named/chroot.  So the 
zone files must be under /var/named/chroot/var/named/ to be found.  Are 
yours under /var/named instead?  That could be the problem.

Chris

-- 
-----------------------------------------------------------
   "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
   Chris Johnson, RHCE #807000448202021



-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list




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

  Powered by Linux