Includes in BIND 8 config files.

Len Conrad LConrad at Go2France.com
Thu Aug 9 19:21:39 UTC 2001



>Anyone out there in DNS land know if there is a command to create an include
>in BIND 8 config files?

in zone files, it´s

$INCLUDE file

in named.conf, it´s

inlcude "file";

>I am going to create a ton of sub-domains for one of our domains, all of
>which will have to be "IN A" record.

drop class INternet, it´s the default.

>However I would like to be able to put
>these subs into an include file for the domain's db file. I know in apache's
>httpd file the command is 'Include' (funny enough:-), what is it for BIND 8?

it´s funny, too  :))


>www.domain.com.             IN      A       192.168.0.1
>marketing.domain.com        IN      A       192.168.0.1
>members.domain.com         IN      A       192.168.0.1
>
>$Include '/etc/bind/db.subdomains_for_domain'

$INCLUDE /etc/bind/db.subdomains_for_domain

I used include's and $INLCUDE´s a lot, saves tons of time and errors

Len


http://MenAndMice.com/DNS-training
http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4 & W2K
http://IMGate.MEIway.com  : Build free, hi-perf, anti-abuse mail gateways



More information about the bind-users mailing list