spliting conf file

Russell Foster rf at rf0.com
Sun Sep 2 17:04:48 UTC 2001


>  -----Original Message-----
>  From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
>  Behalf Of Mohamed A. AlShehhi
>  Sent: 02 September 2001 09:44
>  To: BIND-Users
>  Subject: spliting conf file
>  
>  
>  
>  we have bind 8.2.4, the conf file which contains all zones is
>  named.conf,
>  
>  can we split that file into smaller files that each one of them will
>  takecare
>  of certain zones of domains ??
>  
>  regards
>  


Look at using the includes directive. 

e.g. 

in named.conf 

include "/etc/com.zone.conf";

in /etc/com.zone.conf

zone "mydomain.com" {
	type master;
	file "/var/named/mydomain.com";
}

etc...

Hope this helps

Rus


More information about the bind-users mailing list