30 lines
702 B
Text
30 lines
702 B
Text
#RISOTTO: do not compare
|
|
server:
|
|
interface: 127.0.0.1
|
|
%for %%interface in %%range(%%len(%%zones_list))
|
|
interface: %%getVar('ip_eth' + %%str(%%interface))
|
|
%end for
|
|
do-ip4: yes
|
|
do-ip6: no
|
|
log-only-syslog: no
|
|
xfrdir: /var/tmp
|
|
|
|
remote-control:
|
|
control-enable: no
|
|
%for %%zone in %%nsd_zones
|
|
|
|
zone:
|
|
name: "%%zone"
|
|
zonefile: "%%{zone}.zone.signed"
|
|
%end for
|
|
%set %%reversed = []
|
|
%for %%reverse in %%nsd_reverse_network
|
|
%if %%reverse.nsd_reverse_name in %%reversed
|
|
%continue
|
|
%end if
|
|
|
|
%%reversed.append(%%reverse.nsd_reverse_name)%slurp
|
|
zone:
|
|
name: "%%reverse.nsd_reverse_name"
|
|
zonefile: "%%{reverse.nsd_reverse_name.replace('/', '-')}reverse.signed"
|
|
%end for
|