Comment 5 for bug 1999321

Revision history for this message
Farshid Tavakolizadeh (farshidtz) wrote :

I often face this issue on a Raspberry Pi 4 (Ubuntu Server 22.04):

2023-02-27 14:55:41.908 Executing in container: lxc --project snapcraft exec local:snapcraft-matter-pi-gpio-commander-on-arm64-for-arm64-151427 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io
2023-02-27 14:55:42.593 Executing in container: lxc --project snapcraft exec local:snapcraft-matter-pi-gpio-commander-on-arm64-for-arm64-151427 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io

It appears to be a re-occurring domain resolution issue, unrelated to snapcraft.

$ host snapcraft.io
Host snapcraft.io not found: 2(SERVFAIL)
$ host google.com
Host google.com not found: 2(SERVFAIL)

Changing the DNS addresses or rebooting the device solves it.