Via discord:
Ah right, we need to add dns names for the machines as well. Like we already have machine-scoped DNS names for services, we can have a namespace for machine names, e.g. m.internal, to separate from service names:
m.internal - IPs of all machines in the cluster
<machine-name>.m.internal - single machine by name
<machine-id>.m.internal - single machine by ID
TXT records could be added later to return additional metadata for the machines when we have a use case for this.
.m might not be very clear what it means for new folks. Other options: .machine, _machine, _m.
I personally like shortcuts and when I need to type less. That's why I even added an alias for the machines command to type it quicker with uc m ls. We also have -m flag used in many commands so the .m DNS namespace seems to nicely fit the current naming in other places.
Via discord:
Ah right, we need to add dns names for the machines as well. Like we already have machine-scoped DNS names for services, we can have a namespace for machine names, e.g.
m.internal, to separate from service names:m.internal- IPs of all machines in the cluster<machine-name>.m.internal- single machine by name<machine-id>.m.internal- single machine by IDTXT records could be added later to return additional metadata for the machines when we have a use case for this.
.mmight not be very clear what it means for new folks. Other options:.machine,_machine,_m.I personally like shortcuts and when I need to type less. That's why I even added an alias for the
machinescommand to type it quicker withuc m ls. We also have-mflag used in many commands so the.mDNS namespace seems to nicely fit the current naming in other places.