Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kastetkot/49fd00a9ecbd5024971c33f226f8cf5e to your computer and use it in GitHub Desktop.
Save kastetkot/49fd00a9ecbd5024971c33f226f8cf5e to your computer and use it in GitHub Desktop.
Reload the DNS Cache in Network Manager

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment