From 8ec98ec88b7ffecbe83c32326032d6e82ed5e846 Mon Sep 17 00:00:00 2001 From: Eric Lindsey Date: Thu, 31 Oct 2024 14:37:24 -0400 Subject: [PATCH] Make nsd listen on public instead of private addresses --- setup/dns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/dns.sh b/setup/dns.sh index f2ad3a49..c0d2fb72 100755 --- a/setup/dns.sh +++ b/setup/dns.sh @@ -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