Skip to content

Commit

Permalink
Make named + dnssec startup mildly more robust.
Browse files Browse the repository at this point in the history
If this doesn't work more of the time, I'm disabling dnssec entirely.

It turned out that most of my problems are on first boot,
where you are still rewriting flash and you can't save certain conf
files
  • Loading branch information
Dave Taht committed Apr 14, 2012
1 parent ee4d2ee commit bab01a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/bind-latest/files/named.init
Expand Up @@ -18,15 +18,16 @@ start() {
ln -s /etc/chroot/named/var/run/named/session.key /var/run/named/session.key
fi
echo Kicking isc-bind in xinetd
/usr/sbin/named.montime &
nslookup ::1 ::1 > /dev/null
if [ $? -ne 0 ]
then
echo " isc-bind failed to start"
logger " isc-bind failed to start "
else
logger " isc-bind started "
rndc validation disable;
fi
/usr/sbin/named.montime &
}

stop() {
Expand Down

0 comments on commit bab01a5

Please sign in to comment.