Run unbound-anchor when root.key is empty, not just when it is absent.
PR: 232555 Submitted by: Ari Suutari <ari@stonepile.fi> MFC after: 3 days
This commit is contained in:
parent
4635676d25
commit
caa0408fa8
@ -92,7 +92,7 @@ local_unbound_prestart()
|
||||
fi
|
||||
|
||||
# Retrieve DNSSEC root key
|
||||
if [ ! -f ${local_unbound_anchor} ] ; then
|
||||
if [ ! -s ${local_unbound_anchor} ] ; then
|
||||
run_rc_command anchor
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user