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@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?
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to