diff --git a/one-container/pihole-unbound/99-edns.conf b/one-container/pihole-unbound/99-edns.conf new file mode 100644 index 0000000..379513b --- /dev/null +++ b/one-container/pihole-unbound/99-edns.conf @@ -0,0 +1 @@ +edns-packet-max=1232 \ No newline at end of file diff --git a/one-container/pihole-unbound/Dockerfile b/one-container/pihole-unbound/Dockerfile index bea6e3a..e810670 100644 --- a/one-container/pihole-unbound/Dockerfile +++ b/one-container/pihole-unbound/Dockerfile @@ -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 diff --git a/one-container/pihole-unbound/unbound-pihole.conf b/one-container/pihole-unbound/unbound-pihole.conf index ff07a82..9f1e9bf 100644 --- a/one-container/pihole-unbound/unbound-pihole.conf +++ b/one-container/pihole-unbound/unbound-pihole.conf @@ -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