I have a few instances running for a while using dynamic DHCP. I have since changed the settings on the oven network to exclude some IP addresses(ipv4.dhcp.ranges: 10.225.0.11-10.225.0.224) , which I want to reserve. When I try to set them to static, I get the error listed below. Any ideas how to work around this issue?
incus config device set container-name eth0 ipv4.address=10.225.0.2
More than one DNS record found for logical switch port
I get the same error message when removing the device from an instance.
As a workaround, I set the IP addresses at the operating system level and removed the DHCP settings. However, that leaves me with the problem of the DNS pointing to the IP address provided by the DHCP server.
I ultimately figured out the problem. It seems that the DNS for these instances was previously set to something else entirely. I believe this is because when I initially set up the system it was using the default .incus domain.