Hi list
I'm searching a way for a view-based RPZ configuration. A current
approach looks like this:
view a {
match-clients { 11.11.11.0/24; };
response-policy { zone "badrep.host.dtq" policy nxdomain log yes;
zone "rpz-a.example.ch" policy nxdomain log yes;
} qname-wait-recurse no max-policy-ttl 0
add-soa no break-dnssec yes nsip-wait-recurse no;
include "/usr/local/etc/namedb/common-zones.conf";
};
view b {
match-clients { 12.12.12.0/24; };
response-policy { zone "badrep.host.dtq" policy nxdomain log yes;
zone "rpz-b.example.ch" policy nxdomain log yes;
zone "malware.host.dtq" policy nxdomain log yes;
} qname-wait-recurse no max-policy-ttl 0
add-soa no break-dnssec yes nsip-wait-recurse no;
include "/usr/local/etc/namedb/common-zones.conf";
};
view generic {
match-clients { any; };
response-policy { zone "badrep.host.dtq" policy nxdomain log yes;
zone "rpz-whitelist.example.ch" policy
passthru log yes;
zone "rpz-blacklist.example.ch" policy
nxdomain log yes;
} qname-wait-recurse no max-policy-ttl 0
add-soa no break-dnssec yes nsip-wait-recurse no;
include "/usr/local/etc/namedb/common-zones.conf";
};
The common-zones.conf contains the zone configuration for all the
configured response-policy zones above. Some zones (badrep.host.dtq) are
quiet big and consumes some memory. The problem here is, that all zones
(incl. the big ones) are loaded (needs to be loaded) multiple times, if
the same zone is used in multiple views.
Previously, it was not possible to manage shared response-policy zones.
Is that now possible in some way? So that I can include the zone three
times, but the zones are only loaded into memory once? Or that I can
load the zone globally once and then reference it in the views?
Thanks for any hints on this.
Best regards,
Tom
--
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from
this list.