I'm on Ubuntu 16.04 LTS Server Edition (the host) and running some Trusty 14.04 
LTS LXC-containers in it. Trying to get this DNS-name resolution working I 
added in /etc/default/lxc-net the line: 
LXC_DOMAIN="lxc" 

and in /etc/dnsmasq.d/lxc added the line:
server=/lxc/10.0.3.1 stanza, then 

1. stopped all existing containers
2. run 'sudo service lxc-net restart'
3. restarted the containers

but the DNS-name resolution does not work, e.g
"ping mycont.lxc" or
"dig @10.0.3.1 mycont.lxc" 
do not resolve to running LXC IP-address.

Whats wwong, how to get this working? Should I edit the LXC-configs
somehow or is there some other
dns/networking/resolv.conf/dnsmasq/iptables/etc configurations that I
should check to debug why this is not working?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1389954

Title:
  Make .lxc domain name resolution easier to discover and enable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1389954/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to