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.
Thanks, finally a guide that works and does what its title says