User Tools

Site Tools


vaciar_cache_dns_en_ubuntu_22.04

https://askubuntu.com/questions/2219/how-do-i-clear-the-dns-cache

Ubuntu 17.04 and higher (18.04)

From Ubuntu 17.04 and onwards, systemd-resolve is used for DNS. You can flush systemd's caches like so:

sudo systemd-resolve --flush-caches

Ubuntu 22.04 and higher

sudo resolvectl flush-caches
vaciar_cache_dns_en_ubuntu_22.04.txt · Last modified: 2024/10/17 21:42 by 127.0.0.1