I am attempting to run multiple bridge networks - a br-test and a br-prod. Of course I would like for the br-test network to have a different domain name. Based on the documentation I thought I could achieve this on a per network basis by adding a dns.domain to the entry like:
lxc network show br-test config: dns.domain: test.awt ipv4.address: 10.0.0.1/24 ipv4.nat: "true" ipv6.address: fd42:7bb7:ae3e:dd76::1/64 ipv6.nat: "true" description: "" name: br-test type: bridge used_by: - /1.0/containers/ansible-image - /1.0/containers/c2 - /1.0/containers/dev-foreman - /1.0/containers/test-consulagent - /1.0/containers/test-consulserver01 - /1.0/containers/test-consulserver02 - /1.0/containers/test-consulserver03 managed: true
But it doesn’t seem to be working. Trying - for example - to ping container c2.test.awt returns a service or name unknown.
This is using lxd 2.21. I’ve restarted the network and the lxd daemon with no luck.
I know - or think I know - that I could change the default domain in the lxd configuration, but I would prefer to be able to control it on a network basis.
Thx in advance