Draft: FQDNs for libre.moe #58
Labels
No Label
Breaking
Domain
komu.boo
Domain
langrock.info
Domain
libre.moe
Involves
Documentation
Involves
Security
Involves
Testing
Kind
Bug
Kind
Enhancement
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Service
Drone
Service
Element
Service
Gitea
Service
Matrix
Service
Nextcloud
Service
Szuru
Status
Abandoned
Status
Blocked
Status
Duplicate
Status
Invalid
Status
Need More Info
Status
Planned
Status
Won't Fix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: KomuSolutions/igot99issues#58
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Use FQDNs based on a unique definition of each service as well as a canonical name in addition to the common user-friendly names.
Take the example of
git.libre.moe
, which is a user-friendly name for the hostname of the serversahaquiel.libre.moe
hosting this service. This change would use a different approach with additional names for all services.git.libre.moe
is an alias ofgitea.service.libre.moe
gitea-web.sahaquiel.infra.libre.moe
The
service.libre.moe
name could provide a web-service endpoint, listing all available services on libre.moe and their current system statusNew Naming Rules
The new setup would follow these rules:
User Access Point:
Canonical Hostname
We use the canonical names to uniquely identify a target service to keep internal (back)links consistent in case the user-access-point changes. In case we ever have a HA system set-up, this would be the load-balancer hostname, routing to one of the available backend hosts. As long a service is hosted on this domain, this canonical name will stay the same (unless a service changes their name and a change of the canonical name would be useful, but in that case the legacy name would likely still remain routeable as an alias of the new canonical name)
Fully Qualified Domain Name
We use the FQDN to refer to a specific instance, useful for migrating from one server to another or with potential HA setups. If an instance switches servers, the old FQDN will become invalid.
Hosts under libre.moe will drop the prefix before
<host>.infra.libre.moe
and become routeable soley under this name instead.Definition
Where each of the components means the following:
friendly-name
refers to a easily recognizable name (like "git" or "cloud") but can also just meanservice
(like "nextcloud") if applicable.service
is the exact name of a service (like "nextcloud" or "onlyoffice")role
defines the type of service (like web, ssh, api, ...)environment
differentiates between the various stages of readiness a service might be in (like prod, dev, staging, test) but can be optional if there is only one environment, where the lack of a service would refer to the production environment).host
refers to the hostname of the system hosting said service. Everything hosted on the serversahaquiel
would therefore be a prefix ofsahaquiel.infra.libre.moe
, with this being the FQDN of the server itself.Wildcard Certificates for FQDNs
With this approach, a wildcard certificate for each host will become very useful, as all services under this host can be added referenced by a DNS name without needing to request a new certificate.
Whether all hosts own wildcard certs for
*.libre.moe
and*.service.libre.moe
or not is yet to be determined.FQDNs for libre.moeto Draft: FQDNs for libre.moe