mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 11:12:48 +01:00
unbound: add/rename/fix prefer-ip{4,6}.conf
This commit is contained in:
parent
0063e2409b
commit
b18df5462c
9
etc/unbound/unbound.conf.d/prefer-ip4.conf
Normal file
9
etc/unbound/unbound.conf.d/prefer-ip4.conf
Normal 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
|
@ -1,5 +1,6 @@
|
|||||||
server:
|
server:
|
||||||
# Prefer IPv6 transport for sending DNS queries to internet nameservers.
|
# Prefer IPv6 transport for sending DNS queries to internet nameservers.
|
||||||
|
prefer-ip4: no
|
||||||
prefer-ip6: yes
|
prefer-ip6: yes
|
||||||
|
|
||||||
# vim: filetype=unbound.conf
|
# vim: filetype=unbound.conf
|
Loading…
Reference in New Issue
Block a user