Marek Kozlowski <[email protected]> wrote:
>
> But it's rather annoying. I have over 50 "common" zones and only six
> "private" and "public" ones. How can I implement split horizon for just
> a few zones and consider other ones as "common"?

Write a script that takes the real include file containing slave
declarations for the common zones, and emits another include file
containing in-view declarations. My version parses the output of
named-checkconf -p (which pretty-prints named's configuration):

https://gist.github.com/fanf2/9b55be70da32a1eefcb8

Tony.
-- 
f.anthony.n.finch  <[email protected]>  http://dotat.at/
Viking, North Utsire: Easterly 4 or 5, increasing 6 at times. Slight or
moderate, but rough in southwest Viking. Showers later. Good, occasionally
poor later.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to