dataset/seed/unbound/templates/risotto.conf

34 lines
882 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
2022-12-25 17:08:52 +01:00
%for %%authority in %%unbound_forward_address
access-control: %%authority.unbound_allowed_client allow
2022-03-08 19:42:28 +01:00
%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"
2022-12-25 17:08:52 +01:00
forward-addr: %%authority.unbound_allowed_client
2022-03-08 19:42:28 +01:00
%end for
%end for
forward-zone:
name: "."
%for %%forward in %%unbound_default_forwards
forward-addr: %%forward
%end for
# forward-first: no