I'm trying to make LXC containers use static IP addresses. For that I specify
lxc.network.ipv4 = 10.0.3.3 lxc.network.ipv4.gateway = 10.0.3.1
lxc config file. I have only loopback interface in
/etc/network/interfaces in containers. And it mostly works. Except for domain name resolution. Is there a way to do something similar to what
dns-nameservers stanza in
/etc/network/interfaces does in
lxc config file?
For now I'm considering to move network settings inside container.