How to flush DNS cache?

Update: I have checked: https://ijm8n.skipdns.link/ and everything is OK. I just have to wait …

Hello everyone,
I am transferring some WP sites and although the the website speed test sites already see the transferred site(s), my web browsers still can’t.

So far, I have:
Deleted ALL browser history
Used incognito windows
Switched the site to “unavailable” on old host (Cloudways > application : off)

How can I empty the DNS cache?

What browser are you using. I know Firefox keeps it’s dns cache just in memory.

about:networking#dns

EDit: Your router probably keeps some kind of dns logging?

systemd-resolve --flush-caches

(assuming you’re using systemd-resolved)

1 Like

It’s not set up on mine at least.

[ricklinux@eos-kde ~]$ sudo systemctl is-active systemd-resolved.service
[sudo] password for ricklinux: 
inactive
[ricklinux@eos-kde ~]$ 

I thought systemd-resolved.service was active by default on an EndeavourOS install; I guess I was wrong. :man_shrugging:

BTW, you shouldn’t need sudo to check the status of that service. But then I don’t use EndeavourOS, so maybe you do :grin:.

Your right no you don’t.

Edit: I didn’t think Arch has has this enabled.

1 Like

Tanks everyone,
to make a long story short … i just have a to wait a few more hours.
Hopefully I can access the back end soon and fix the issues which were introduced by the migration plugin.

@ ricklinux
Thanks for the about:config tip.
I snoop around a lot in Firefox’s about:config settings but didn’t know that one.
And yes, the Telus router surely caches as well which is want I need to google next.
Have a good afternoon/evening/night depending on how much east of BC you are. :slight_smile:

DNS changes take time to propagate.

If you set a lower TTL prior to the change then it will take less time to propagate (then you increase it again afterwards).

If you suspect it’s a local DNS cache then the easiest (and most robust) way is to reboot your PC and router.

jonathon,
thanks for your suggestions. It’s done and I don’t look forward doing this again anytime soon. Changing web host is always a $@)#$(#@)$ job.

1 Like