unbound: prefer ip4 on ubuntu 24 and above

ip6 queries seems to be blocked by spamhaus
This commit is contained in:
Girish Ramakrishnan
2024-09-12 17:12:01 +02:00
parent aedf55dba0
commit 0647a3a233
4 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
# Prefer IPv4 outbound queries. Spamhaus often reject queries from IPv6 addresses
# This setting is in a separate file since it only works from Ubuntu 24 , unbound 1.19.2
server:
prefer-ip4: yes