We configure dns64 in unbound which also automatically includes the capability to communicate the local nat64 prefix to clients via DNS as a mechanism. This mostly *just works* except that a validation of the received information is required by RFC7050 which needs requires explicit unbound configuration. That configuration is implemented here.
24 lines
1 KiB
YAML
24 lines
1 KiB
YAML
systemd_networkd__config_dir: 'resources/z9/z9-router/systemd_networkd/'
|
|
systemd_networkd__global_config: "{{ lookup('ansible.builtin.file', 'resources/z9/z9-router/systemd_networkd_global_config.conf') }}"
|
|
nftables__config: "{{ lookup('ansible.builtin.file', 'resources/z9/z9-router/nftables/nftables.conf') }}"
|
|
ansible_pull__timer_on_calendar: "*-*-* 04:00:00 Europe/Berlin"
|
|
ansible_pull__timer_randomized_delay_sec: 0min
|
|
unbound_access_control: [ "10.89.208.0/20", "2a07:c481:1::/48" ]
|
|
unbound_enable_dns64: true
|
|
unbound_dns64_prefix: "{{ jool_nat64__prefix }}"
|
|
unbound_local_ptr:
|
|
- "64:ff9b::c000:aa ipv4only.arpa."
|
|
- "64:ff9b::c000:ab ipv4only.arpa."
|
|
- "192.0.0.170 ipv4only.arpa."
|
|
- "192.0.0.171 ipv4only.arpa."
|
|
deploy_systemd_resolved_config__enable: false
|
|
deploy_systemd_resolved_config__dns:
|
|
- 127.0.0.1
|
|
deploy_systemd_resolved_config__fallback_dns:
|
|
- 127.0.0.1
|
|
kea_dhcp__include_vars: resources/z9/z9-router/kea_dhcp.yaml
|
|
secrets__folder:
|
|
owner: "root"
|
|
mode: "0754"
|
|
group: 998
|
|
jool_nat64__prefix: "64:ff9b::/96"
|