Ubuntu22.04 刷新DNS缓存

sudo resolvectl statistics #查看缓存
sudo resolvectl flush-caches #刷新缓存

参考资料

https://blog.csdn.net/qq_39647851/article/details/132256923