Views Multi-Config
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Tue Nov 12 01:17:06 UTC 2002
>
> I'm trying to build a multi view BIND config. I'm having trouble figuring
> out the correct syntax.
>
> I have 3 IP's assigned to this box:
> 10.254.3.1 - Inside Firewall
> 10.20.10.251 - Has an external IP NATed through the Firewall
> 10.20.10.252 - Has an external IP NATed through the Firewall
>
> I'd like internal queries sent to 10.254.3.1 to return back the zone info
> from the "internal" view, queries sent to 10.20.10.252 to return back zone
> info from the "external" view and queries sent to 10.20.10.251 to return
> back the zone info from the "third" view.
Use match-destination.
>
> I'm trying to use the match-client option, but the queries come to the box
> but doesn't carry the target ip (10.20.10.251 or 10.20.10.252).
>
> Would I be better off trying to use listen-on?
>
> How should I set this up? I'm totally confused.
>
>
>
> //Internal View
> view "internal" {
> match-clients { 10.254.0.0/16; };
> recursion yes;
> zone "aqueduct.com" { type master; file
> "internal/aqueduct.com.dns"; };
> };
>
> //External View
> view "external" {
> match-clients { 10.20.10.252; };
recursion no;
> zone "aqueduct.com" { type master; file
> "secondary/aqueduct.com.dns"; };
> );
>
> //Third View
> view "third" {
> match-clients { 10.20.10.251; };
> recursion no;
> zone "aqueduct.com" { type master; file
> "outside/aqueduct.com.dns"; };
> );
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at isc.org
More information about the bind-users
mailing list