[11:48] <Mosibi> I have 2 dhcp and dns managed networks connected to maas. Some hosts (compute nodes) have connections in both network (management and neutron/network). I now see that the short hostname sometimes is CNAME'd to the address on the second interface.
[11:48] <Mosibi> I would be nice to set a domainname per interface. Then we never have CNAME collisions...
[11:48] <Mosibi> Is this possible?
[11:48] <jtv> No, I don't think it is.
[11:49] <Mosibi> That's not the answer i hoped for ;)
[11:49] <Mosibi> But... of course it is possible, it's just a bit harder to code :)
[11:51] <jtv> And configure, I guess — I don't think anyone can predict on which network you want to address the node.
[11:52] <Mosibi> jtv: but setting the CNAME could be bound to one interface.
[11:52] <jtv> You can ask for a node's addresses, but all the DNS server can really do is give you one, or give you all.
[11:52] <jtv> We could bind the cname to one interface on the node, yes...  You'd then have to tell it which node though.
[11:52] <jtv> Which still ends up being extra work for you.  :(
[11:55] <Mosibi> On the second net i would just have the generated names 1-1-1-1 A short_name on the 'not primary' interfaces.
[11:55] <Mosibi> Only on the primary interface the CNAMEs
[11:58] <Mosibi> Maybe it's an idea to put all the addresses in the sql database and from there deploy DNS and DHCP. MAAS then can be extended with more control over the adresses by giving the user a GUI for DNS/DHCP management if he/she wants
[11:59] <Mosibi> I do not care if i have to change something to my wishes. But now if i change it on disk and MAAS is regenerating the zone files, my changes are gone.
[13:30] <allenap> Mosibi, jtv: BIND views could be used to serve up the correct address depending on which network you’re asking via, but MAAS doesn’t support that. We don’t have any plans to support it either, but if enough people want it we could.
[14:09] <Mosibi> allenap: that's also a possibility indeed...
[14:10] <Mosibi> Next week I will discus this within our team and probably we will come with a proposition.