Skip to content

Create more DNS names for machines #340

@miekg

Description

@miekg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions