On Wed, Mar 29, 2017 at 12:16:29AM -0300, Norberto Bensa wrote: > Hello list! > > In previous versions of Ubuntu I had lxc domain name resolution > working, but it's broken for me in 17.04. > > Name resolution inside the containers work: > > ubuntu@consulta:~⟫ ping fox > PING fox.lxc (10.0.1.114) 56(84) bytes of data. > 64 bytes from fox.lxc (10.0.1.114): icmp_seq=1 ttl=64 time=0.058 ms > ^C > > But it doesn't from the host: > > zoolook@melnitz:~$ ping fox.lxc > ping: fox.lxc: Name or service not known > > > I've added 10.0.1.1 as a nameserver in > /etc/resolvconf/resolv.conf.d/head, but it makes systemd-resolved eat > my cpu at ~100%. > > 1268 systemd+ 20 0 57672 13292 5136 R 98,9 0,1 0:18.73 > /lib/systemd/systemd-resolved > Logs from systemd are useless: > > Mar 28 23:41:54 melnitz systemd-resolved[1268]: Processing query... > > > I need/want to have name resolution working from the host. Does anyone > have a solution? >
https://help.ubuntu.com/lts/serverguide/lxc.html#lxc-network _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
