reduce edns-buffer-size to 1232 (#99)
avoids warnings in pihole such as : Warning in dnsmasq core: reducing DNS packet size for nameserver 127.0.0.1 to 1280 from pihole's doc : https://docs.pi-hole.net/guides/dns/unbound/
This commit is contained in:
parent
5d990c297b
commit
adabe4c786
3 changed files with 3 additions and 1 deletions
1
one-container/pihole-unbound/99-edns.conf
Normal file
1
one-container/pihole-unbound/99-edns.conf
Normal file
|
@ -0,0 +1 @@
|
|||
edns-packet-max=1232
|
|
@ -3,6 +3,7 @@ RUN apt update && apt install -y unbound
|
|||
|
||||
COPY lighttpd-external.conf /etc/lighttpd/external.conf
|
||||
COPY unbound-pihole.conf /etc/unbound/unbound.conf.d/pi-hole.conf
|
||||
COPY 99-edns.conf /etc/dnsmasq.d/99-edns.conf
|
||||
COPY start_unbound_and_s6_init.sh start_unbound_and_s6_init.sh
|
||||
|
||||
RUN chmod +x start_unbound_and_s6_init.sh
|
||||
|
|
|
@ -34,7 +34,7 @@ server:
|
|||
|
||||
# Reduce EDNS reassembly buffer size.
|
||||
# Suggested by the unbound man page to reduce fragmentation reassembly problems
|
||||
edns-buffer-size: 1472
|
||||
edns-buffer-size: 1232
|
||||
|
||||
# Perform prefetching of close to expired message cache entries
|
||||
# This only applies to domains that have been frequently queried
|
||||
|
|
Loading…
Reference in a new issue