adabe4c786
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/
10 lines
388 B
Docker
10 lines
388 B
Docker
FROM pihole/pihole:2022.01.1
|
|
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
|
|
ENTRYPOINT ./start_unbound_and_s6_init.sh
|