I’m having trouble understanding how dns name’s are set when creating new vm pods from lxd hosts.
My setup is as follows:
- maas controller using a laptop
- home server node connected to the same switch as the controller
- the switch is connected to a tagged vlan port 100
- the maas controller uses vlan 100
When installing the above home server, it was correctly given a dns name and ip configured by maas, however when creating vms from that node, something inconsistent happened:
- When I click creating vm on the ui, it created one with a ip given by maas’s dhcp and a unique name “somthing-animal”.
2 When creating a second vm, the dns record is gone for the first vm, and now only the second one is given a dns record, which can be observed in the dns tab in maas.
I would like to understand:
- Is this behavior expected?
- If not, are there any reasons maas not given the vm dns records?
- I’ve create lxd containers manually on that vm host for personal uses, but since they’re under different lxd project I’m not sure if this is related to it.