Unbound corrupt root.key file
-
SG-5100
22.01-RELEASEJust reinstalled 22.01 and brought over the config from a second SG-5100 that does NOT exhibit this error.
I am getting the following error on boot:
rc.bootup: Unbound /var/unbound/root.key file is corrupt, removing and recreating.
and also this error whenever I restart unbound:
/status_services.php: Unbound /var/unbound/root.key file is corrupt, removing and recreating.
I tried the commands in this link to recreate the file:
https://forum.netgate.com/post/510554
But the error persists. If I cat /var/unbound/root.key it is a single line:
. IN DS 20326 8 2 E06D44B80B8F1D3[...]
whereas on the other SG-5100 it is multi-line including comments and dates and a long key string.
Could someone please help me figure out what I am doing wrong and how to fix this.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.