1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-01 23:57:05 +00:00

Make nsd listen on public instead of private addresses

This commit is contained in:
Eric Lindsey 2024-10-31 14:37:24 -04:00 committed by GitHub
parent 1699ab8c02
commit 8ec98ec88b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@ EOF
# DNS queries that require a recursive nameserver, and the system
# might have other network interfaces for e.g. tunnelling, we have
# to be specific about the network interfaces that nsd binds to.
for ip in $PRIVATE_IP $PRIVATE_IPV6; do
for ip in $PUBLIC_IP $PUBLIC_IPV6; do
echo " ip-address: $ip" >> /etc/nsd/nsd.conf;
done