Failed to resolve 'acme-v02.api.letsencrypt.org' ([Errno -3] Temporary failure in name resolution)

Hello,

When running 'certbot show_account' I get an error:
Failed to resolve 'acme-v02.api.letsencrypt.org' ([Errno -3] Temporary failure in name resolution)

System name resolution works fine.

dig +short acme-v02.api.letsencrypt.org

prod.api.letsencrypt.org.
ca80a1adb12a4fbdac5ffcbc944e9a61.pacloudflare.com.
172.65.32.248

What could be the problem?

certbot 5.1.0 installed with Snap on Ubuntu 20.04.6 LTS here.