[lxc-users] DNS resolution for LXD containers
Jeff Kowalczyk
jeff.kowalczyk at gmail.com
Tue Oct 11 20:00:50 UTC 2016
I have usable networking for my LXD 2.4.1 containers, but no DNS resolution:
$ lxc network show network0
name: network0
config:
ipv4.address: 10.76.73.1/24
ipv4.nat: "true"
ipv6.address: fd42:a3b6:96a3:6e7e::1/64
ipv6.nat: "true"
managed: true
type: bridge
usedby:
- /1.0/containers/ubuntu-dev
Containers' resolv.conf points to the LXD gateway:
root at ubuntu-dev:~# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
nameserver 10.76.73.1
search lxd
Is there LXD server config that needs to be added for DNS to work with
IPv4? Additional Kernel config to forward UDP traffic over the bridged
interface?
More information about the lxc-users
mailing list