Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Unbound corrupt root.key file

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 514 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tjsober
      last edited by tjsober

      SG-5100
      22.01-RELEASE

      Just 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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.