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

Re: named.conf pull from foreign file



On Mon, Oct 09, 2000 at 11:37:27AM -0500, Charles Menzes wrote:
> hey everyone, i have a question on whether or not an /etc/named.conf file
> can actually pull references from foreign files.
> 
> my server acts as secondary for a few other companies that have quite a
> number of zones i will be pulling. moreover, the list of domains is
> changing quite often for these other companies master nameserver. rather
> than update my main named.conf file, is there a way to referense an
> external file from within named.conf?
> 
> this way i can keep the domains my server is primary for within the
> named.conf file, and for all domains i secondary from company A, i can
> just reference a foreign file that will include named.conf syntax for
> those domains, and so forth for each additional company.

man named.conf, search for "include".

I do this myself; I have a few "stub domains" that I manage with some
Python and m4 stuff.  My named.conf includes the auto-generated domain
clauses from these.
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.