Should "namespace" or "user" be a part of the MagicDNS? #137

Closed
opened 2025-12-29 01:23:49 +01:00 by adam · 5 comments
Owner

Originally created by @kradalby on GitHub (Feb 25, 2022).

Originally created by @kradalby on GitHub (Feb 25, 2022).
adam added the enhancementquestion labels 2025-12-29 01:23:49 +01:00
adam closed this issue 2025-12-29 01:23:49 +01:00
Author
Owner

@restanrm commented on GitHub (Feb 25, 2022):

My first thought on this subject would be “no”. In personal usage, the number of hosts should stay relatively small. When a machine is tagged, the first owner shouldn't have any meaning to the host to not bring confusion.

@restanrm commented on GitHub (Feb 25, 2022): My first thought on this subject would be “no”. In personal usage, the number of hosts should stay relatively small. When a machine is tagged, the first owner shouldn't have any meaning to the host to not bring confusion.
Author
Owner

@nosklo commented on GitHub (Feb 25, 2022):

The idea is that the user can add more hosts, so I would like that option, otherwise I believe we will need to figure out some way to deal with hostname conflicts between users/namespaces

we could round-robin the hosts

hmm maybe the tag could be published to the dns, and accessing it round-robins the hosts under that tag

@nosklo commented on GitHub (Feb 25, 2022): The idea is that the user can add more hosts, so I would like that option, otherwise I believe we will need to figure out some way to deal with hostname conflicts between users/namespaces we could round-robin the hosts hmm maybe the tag could be published to the dns, and accessing it round-robins the hosts under that tag
Author
Owner

@restanrm commented on GitHub (Feb 28, 2022):

On tailscale when there is a conflict on the hostname, the suffix _1 is automatically added

@restanrm commented on GitHub (Feb 28, 2022): On tailscale when there is a conflict on the hostname, the suffix `_1` is automatically added
Author
Owner

@e-zk commented on GitHub (Mar 2, 2022):

I personally like the idea of keeping it so each namespace/user has it's own subdomain, like machine.user.example.com. Just my 2c.

@e-zk commented on GitHub (Mar 2, 2022): I personally like the idea of keeping it so each namespace/user has it's own subdomain, like `machine.user.example.com`. Just my 2c.
Author
Owner

@kradalby commented on GitHub (Jun 12, 2022):

Yep, we will keep it that way.

@kradalby commented on GitHub (Jun 12, 2022): Yep, we will keep it that way.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#137