LXC containers not receiving DHCP DNS details on VLAN
I have a VLAN set up for external (DMZ) containers.
If I set a VLAN ID on an LXC container it will not pull the DNS settings automatically. I must manually specify that the container should use the gateway for DNS.
This seems to only happen with LXC containers though, VMs on VLANs get a DNS address automatically.
Anyone have an any ideas why LXC containers aren't receiving a DNS address automatically?
Here's the interfaces for reference.
I have a VLAN set up for external (DMZ) containers.
If I set a VLAN ID on an LXC container it will not pull the DNS settings automatically. I must manually specify that the container should use the gateway for DNS.
This seems to only happen with LXC containers though, VMs on VLANs get a DNS address automatically.
Anyone have an any ideas why LXC containers aren't receiving a DNS address automatically?
Here's the interfaces for reference.
Code:
auto lo
iface lo inet loopback
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.156/24
gateway 192.168.1.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094