diff --git a/roles/unbound/templates/unbound.conf.dna-gw01.home.foo.sh.j2 b/roles/unbound/templates/unbound.conf.dna-gw01.home.foo.sh.j2 index 4765817..8e3a7b5 100644 --- a/roles/unbound/templates/unbound.conf.dna-gw01.home.foo.sh.j2 +++ b/roles/unbound/templates/unbound.conf.dna-gw01.home.foo.sh.j2 @@ -6,6 +6,8 @@ server: infra-cache-slabs: {{ ansible_processor_cores | int | pow(2) | int }} key-cache-slabs: {{ ansible_processor_cores | int | pow(2) | int }} + outgoing-range: {{ ( 1024 / ansible_processor_cores | int - 50 ) | int }} + interface: 172.20.20.10@53 interface: 172.20.20.10@853 interface: 172.20.20.11@53 diff --git a/roles/unbound/templates/unbound.conf.dna-gw02.home.foo.sh.j2 b/roles/unbound/templates/unbound.conf.dna-gw02.home.foo.sh.j2 index c08d855..afac857 100644 --- a/roles/unbound/templates/unbound.conf.dna-gw02.home.foo.sh.j2 +++ b/roles/unbound/templates/unbound.conf.dna-gw02.home.foo.sh.j2 @@ -6,6 +6,8 @@ server: infra-cache-slabs: {{ ansible_processor_cores | int | pow(2) | int }} key-cache-slabs: {{ ansible_processor_cores | int | pow(2) | int }} + outgoing-range: {{ ( 1024 / ansible_processor_cores | int - 50 ) | int }} + interface: 172.20.20.10@53 interface: 172.20.20.10@853 interface: 172.20.20.11@53