Skip to content

Generate unbound remote key if necessary#53

Merged
ryru merged 1 commit intomainfrom
fix-unbound-control-setup
Nov 16, 2025
Merged

Generate unbound remote key if necessary#53
ryru merged 1 commit intomainfrom
fix-unbound-control-setup

Conversation

@znerol
Copy link
Member

@znerol znerol commented Nov 15, 2025

Excerpt from /usr/share/doc/unbound/NEWS.Debian.gz:

unbound (1.15.0-5) unstable; urgency=medium

  With this version we switched from the control interface on localhost
  port 8953 to a unix-domain socket /run/unbound.ctl. This interface
  does not use the keys/certificates (/etc/unbound/unbound_control.key,
  /etc/unbound/unbound_server.pem etc) which are set up by the
  unbound-control-setup utility.

  This change is done in the new config file fragment,
  /etc/unbound/unbound.conf.d/remote-control.conf

 -- Michael Tokarev <mjt@tls.msk.ru>  Thu, 28 Apr 2022 11:27:58 +0300

Excerpt from /usr/share/doc/unbound/NEWS.Debian.gz:

    unbound (1.15.0-5) unstable; urgency=medium

      With this version we switched from the control interface on localhost
      port 8953 to a unix-domain socket /run/unbound.ctl. This interface
      does not use the keys/certificates (/etc/unbound/unbound_control.key,
      /etc/unbound/unbound_server.pem etc) which are set up by the
      unbound-control-setup utility.

      This change is done in the new config file fragment,
      /etc/unbound/unbound.conf.d/remote-control.conf

     -- Michael Tokarev <mjt@tls.msk.ru>  Thu, 28 Apr 2022 11:27:58 +0300
@znerol
Copy link
Member Author

znerol commented Nov 15, 2025

This is required for Ubuntu noble because that doesn't run unbound-control-setup during package installation. It is save to run against jammy as well.

Copy link
Collaborator

@ryru ryru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ryru ryru merged commit 02a88f4 into main Nov 16, 2025
0 of 2 checks passed
@ryru ryru deleted the fix-unbound-control-setup branch November 16, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants