Hello. I have some LXD experience, but starting a new server using Incus. In creating a new container, I am getting a name resolution failure:
$ incus launch images:ubuntu/24.04
Launching the instance
Error: Failed instance creation: Get "https://images.linuxcontainers.org/images/ubuntu/noble/amd64/default/20241207_07:42/incus.tar.xz": lookup images.linuxcontainers.org: Temporary failure in name resolution
If I ping, no dice:
$ ping images.linuxcontainers.org
ping: images.linuxcontainers.org: Temporary failure in name resolution
But if I use nslookup
I get
Server: 172.16.10.1
Address: 172.16.10.1#53
Non-authoritative answer:
Name: images.linuxcontainers.org
Address: 45.45.148.8
Name: images.linuxcontainers.org
Address: 2602:fc62:a:1::8
In a browser, I can browse to https://images.linuxcontainers.org/images
, so I don’t think it’s my overall network. I think it has to be something to do with my incus server and possibly, resolved. I recently followed How to integrate with systemd-resolved in order to have a local incus-managed nameservice for my incus containers. Is it possible something locally on the incus server has hosed public name service?
(Answer: yes)
$ wget google.com
--2025-01-01 19:48:28-- http://google.com/
Resolving google.com (google.com)... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘google.com’
I understand basic networking concepts, even a little DNS, but I do not know anything about incus networking or systemd-resolved, so any help to diagnose this is appreciated.
-brmiller