diff --git a/rootfs/app/entrypoint.sh b/rootfs/app/entrypoint.sh index 078f0be..98d7377 100755 --- a/rootfs/app/entrypoint.sh +++ b/rootfs/app/entrypoint.sh @@ -34,7 +34,7 @@ fi # set port cat >> /etc/unbound/unbound.conf.d/port.conf << EOF server: - port: ${PORT} + interface: 0.0.0.0:${PORT} EOF if [ "${DNSPROXY}" = true ] ; then diff --git a/rootfs/etc/unbound/unbound.conf b/rootfs/etc/unbound/unbound.conf index 76bc348..b255c21 100644 --- a/rootfs/etc/unbound/unbound.conf +++ b/rootfs/etc/unbound/unbound.conf @@ -1,5 +1,6 @@ server: interface: 0.0.0.0 + port: 53 do-ip4: yes do-ip6: no do-udp: yes