Skip to content

Commit

Permalink
make Unbound actually persistent on Ubuntu in the local-stub
Browse files Browse the repository at this point in the history
  • Loading branch information
TCY16 committed May 30, 2022
1 parent dad31e1 commit aedb575
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/use-cases/local-stub.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ Here, under there ``[Resolve]`` header we add (or rather, enable by removing the
DNSStubListener=no
#DNSStubListenerExtra=
To actually have the system start using Unbound, we then need to create a symlink to overwrite :file:` systemd-resolved ` to the one we modified.

.. code-block:: text

ls -l /run/systemd/resolve/resolv.conf systemd-resolved

With this file modified, we can restart using this configuration with:

.. code-block:: text
Expand Down

0 comments on commit aedb575

Please sign in to comment.