unbound: add/rename/fix prefer-ip{4,6}.conf

This commit is contained in:
Aminda Suomalainen 2024-05-04 09:05:16 +03:00
parent 0063e2409b
commit b18df5462c
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,9 @@
server:
# Prefer IPv4 transport for sending DNS queries to internet nameservers.
# The only case where I can imagine this being useful is when using
# upstream nameserver with ECS anonymization that has more accurate IPv4
# than IPv6 client-subnet.
prefer-ip4: yes
prefer-ip6: no
# vim: filetype=unbound.conf

View File

@ -1,5 +1,6 @@
server:
# Prefer IPv6 transport for sending DNS queries to internet nameservers.
prefer-ip4: no
prefer-ip6: yes
# vim: filetype=unbound.conf