[lxc-users] adding lxc containers to local DNS

Bill Smith william.m.smith at gmail.com
Wed Jul 2 13:45:58 UTC 2014


On Centos and/or Ubuntu, is there a way to configure the host's DNS so that
the containers mapped in dnsmasq.leases are resolvable by nslookup?  I know
I could get there by assigning static IPs and adding them to /etc/hosts.
 I'm wondering whether it's possible for the host to use the usual C
runtime to map a container name to an IP address without having to specify
the mapping in /etc/hosts.

Bill Smith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140702/dba0a3bf/attachment.html>


More information about the lxc-users mailing list