Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. CMCDragonkai created this gist Jun 19, 2022.
    19 changes: 19 additions & 0 deletions reload_dns_cache_network_manager.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    # Reload the DNS Cache in Network Manager

    You may be using NetworkManager with `dnsmasq` as the DNS plugin. If so, it's being used as a local caching nameserver.

    When its data is outdated, you can force it to reload its DNS cache with:

    Use:

    ```
    nmcli general reload dns-full
    ```

    You can also use:

    ```
    nmcli general reload
    ```

    Which will reload all network manager configuration.