mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-03 00:07:05 +00:00
Make nsd listen on public instead of private addresses
This commit is contained in:
parent
1699ab8c02
commit
8ec98ec88b
@ -42,7 +42,7 @@ EOF
|
|||||||
# DNS queries that require a recursive nameserver, and the system
|
# DNS queries that require a recursive nameserver, and the system
|
||||||
# might have other network interfaces for e.g. tunnelling, we have
|
# might have other network interfaces for e.g. tunnelling, we have
|
||||||
# to be specific about the network interfaces that nsd binds to.
|
# 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;
|
echo " ip-address: $ip" >> /etc/nsd/nsd.conf;
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user