[lxc-users] Dotted container names now invalid?
Roman.Fiedler at ait.ac.at
Wed Oct 7 07:37:02 UTC 2015
> Von: lxc-users [mailto:lxc-users-bounces at lists.linuxcontainers.org] Im Auftrag
> On 06/10/15 20:48, Stéphane Graber wrote:
> >>> Why are dotted domain-like container names now invalid?
> > As the container name is set as the container hostname and may be
> > included in DNS records through the use of DHCP, we needed it to comply
> > to both hostname and DNS records specifications.
> Right, so I was abusing the hostname part and using it as a full domainname
> for the container, which was very convenient. It also allowed me to easily
> see the full domainname of each container via lxc list.
> However this change now introduces a problem I am not sure how to get
> around in that if I want to set up various vhosts such as...
> for typical hosting purposes then I cannot have multiple hostnames of
> www, www and another www (times 1000+).
> So now I have to come up with some otherwise useless scheme to provide
> dummy hostnames where I have to use some persistent centralised database
> to map and keep track of, ie;...
> client1w -> www.example1.org
> client2w -> www.example2.org
Having the same problem, I was just replacing the dots with dashes, which does not really impair readability. So you do not need a lookup map.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6344 bytes
Desc: not available
More information about the lxc-users