Change dns server for incus-os

Hello,

When incus-os boots and checks for secure boot key updates, the request to images.linuxcontainers.org gets a timeout.
My dns server (pihole) that gets advertised by the routers dhcp is running inside an incus-os instance and that obviously only boots up after incus-os has started.

So I want to set a different dns server for incus-os than the dhcp assigned one:

Is $ incus network edit incusbr0 and then adding dns.nameservers: 9.9.9.9 under config not the correct way? Does that only advertise that dns server to instances that use the incusbr0 network? If so, how can I change the dns server that incus-os uses?

I’m sorry, I may have overlooked it at first, but I think I just found the solution in the documentation:

incus admin os system network edit and the adding:

dns:
nameservers:
- 9.9.9.9

That seemed to have worked. The error when booting incus-os is gone.

So I guess $ incus network edit incusbr0 and adding dns.nameserversis the dns server that the instances that use incusbr0gets assigned?

And adding the above lines via incus admin os system network edit changes the dns server for incus-os?