dataset/seed/unbound/templates/risotto.conf

34 lines
831 B
Text
Raw Normal View History

2022-03-08 19:42:28 +01:00
server:
2022-06-24 19:00:16 +02:00
%for %%interface in %%range(%%len(%%zones_list))
2022-03-08 19:42:28 +01:00
interface: %%getVar('ip_eth' + %%str(%%interface))
%end for
do-ip4: yes
do-ip6: no
use-syslog: yes
2022-06-24 19:00:16 +02:00
%for %%interface in %%range(%%len(%%zones_list))
2022-03-08 19:42:28 +01:00
access-control: %%getVar('ip_eth' + %%str(%%interface)) allow
%end for
%for %%allowed in %%unbound_allowed_client
access-control: %%allowed allow
%end for
do-not-query-localhost: no
auto-trust-anchor-file: "/srv/unbound/root.key"
remote-control:
control-interface: 127.0.0.1
%for %%authority in %%unbound_forward_address
%for %%zone in %%authority.unbound_forward_zones
forward-zone:
name: "%%zone"
forward-addr: %%authority
%end for
%end for
forward-zone:
name: "."
%for %%forward in %%unbound_default_forwards
forward-addr: %%forward
%end for
# forward-first: no