"include" statements inside views
Mark Chesterfield
mark at ennu.com.au
Thu Apr 12 12:06:20 UTC 2001
Hi,
My work around was to use m4 to pre-process a config file and produce a
named.conf file before starting the server. Ugly.
I understand that this issue will be addressed by the bind team with a
new parser in 9.2
regards
> -----Original Message-----
> From: Maximo Ramos [mailto:maximo at violadores.org]
> Sent: Wednesday, 11 April 2001 4:00 AM
> To: BIND
> Subject: "include" statements inside views
>
>
>
> Hi!
>
> I just read the thread about this, is there any workaround?
> I have a server that is hosting like 50 domains or more, but the owner
> wishes to use one domain for his local network (192.168.1.X) along
> with DDNS and DHCP.
>
> I first tried the following:
>
> view "internal" {
> match-clients { 192.168.1.0/24; 127.0.0/24; };
>
> zone "domain.com" in {
> file "zone/db.domain-internal.com";
> };
> };
>
> view "external" {
> match-clients { any; };
>
> zone "domain.com" in {
> file "zone/db.domain-external.com";
> };
> };
>
> zone "otherdomain-1.com" { .......... };
> zone "otherdomain-2.com" { .......... };
> include "/etc/dns/moredomains";
>
> But I got the error about having zones outside the views, then I tried
> putting all that extra info inside the external view, but
> includes are not
> allowed.
>
> Any workaround for this?
>
> best regards to all!
>
> --
> ----------------------------------------------------
> Maximo Ramos
> From The Land of The Morning Calm
> "I am free of prejudices. I hate everyone equally."
> ----------------------------------------------------
>
>
More information about the bind-users
mailing list