systemd / systemd

The systemd System and Service Manager
https://systemd.io
GNU General Public License v2.0
13.28k stars 3.8k forks source link

Add support for publishing additional hostnames with mDNS #34852

Open qrpyr opened 3 weeks ago

qrpyr commented 3 weeks ago

Component

hostnamectl, systemd-hostnamed, systemd-resolved

Is your feature request related to a problem? Please describe

Using mDNS, a host is typically advertised in the local network as <hostname>.local. I want the host to be also reachable with <additional_hostname_1>.local and <additional_hostname_2>.local.

This would for instance allow to access different services in a local network running on the same hardware using distinct "qualified domain names" or via (fake) subdomains like <service_1>.<hostname>.local. A particular use case is documented in Using mDNS aliases within your Home Network.

Describe the solution you'd like

Describe alternatives you've considered

The systemd version you checked that didn't have the feature you are asking for

256

nilaygit-10721 commented 2 weeks ago

/assign