From cbb7f29f968f62309a31354912849241eeb7e68b Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Mon, 4 May 2015 11:22:57 +0000 Subject: [PATCH] add 'ip-transparent: yes' to nsd.conf https://discourse.mailinabox.email/t/nsd-service-not-started-at-startup-dns-not-working/449 --- setup/dns.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup/dns.sh b/setup/dns.sh index 92682c23..cbd5be8a 100755 --- a/setup/dns.sh +++ b/setup/dns.sh @@ -32,6 +32,13 @@ server: # The directory for zonefile: files. zonesdir: "/etc/nsd/zones" + + # Allows NSD to bind to IP addresses that are not (yet) added to the + # network interface. This allows nsd to start even if the network stack + # isn't fully ready, which apparently happens in some cases. + # See https://www.nlnetlabs.nl/projects/nsd/nsd.conf.5.html. + ip-transparent: yes + EOF # Since we have bind9 listening on localhost for locally-generated