unbound: correct ecs.conf.sample

This commit is contained in:
Aminda Suomalainen 2024-05-03 17:34:07 +03:00
parent 962817874e
commit aa865106db
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 10 additions and 8 deletions

View File

@ -1,16 +1,18 @@
# This will only affect servers that are accessed with public IP address!
server:
#module-config: "ipsecmod validator iterator"
# subnetcache must be loaded for ecs
module-config: "subnetcache validator iterator"
# Send ECS everywhere always
client-subnet-zone: "."
#client-subnet-always-forward: yes
client-subnet-always-forward: yes
# Send different subnet size
#max-client-subnet-ipv6: "16"
max-client-subnet-ipv4: "0"
#max-client-subnet-ipv4: "0"
# IP address to send as client subnet. Optionally /CIDR can be appended.
#
# These are actual Moi.fi IP addresses (dynamic, so they will likely
# change very soon and thus kind of become "anonymized" :D)
#send-client-subnet: "82.203.160.208"
send-client-subnet: "2001:14bb:653:a161:9d7b:be7a:1e40:ad7"
# IP address to send client subnets TO. Optionally /CIDR can be appended.
# This actually means AUTHORITY servers!
#send-client-subnet:
#send-client-subnet:
# vim: filetype=unbound.conf