Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SteveDevOps/9d9aa27e1fa65e8e975d6efb17995f93 to your computer and use it in GitHub Desktop.
Save SteveDevOps/9d9aa27e1fa65e8e975d6efb17995f93 to your computer and use it in GitHub Desktop.

Revisions

  1. @dunderrrrrr dunderrrrrr created this gist Aug 16, 2023.
    5 changes: 5 additions & 0 deletions Search-domains-ubuntu.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    Edit `/etc/systemd/resolved.conf`, set option `Domains=` (space separated list of domains) according to [docs](https://www.freedesktop.org/software/systemd/man/resolved.conf.html) and then restart systemd-resolved.

    ```
    $ systemctl restart systemd-resolved
    ```