mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 15:43:02 +02:00
Instead of publishing A/AAAA records for $(hostname).loocal with a CNAME infix.local, we flip it around to take advantage of the mDNS conflict resolution rules. This gives us infix.local for one device ont the LAN and infix-2.local for the next. Update all service records to *not* advertise hostname, but instead to let Avahi imply that from the advertised A/AAAA and CNAME records. Fixes #1387 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
6 lines
317 B
Plaintext
6 lines
317 B
Plaintext
# Avahi advertises the system default hostname, this service advertises
|
|
# /etc/hostname (-H) and, optionally, network.local as CNAMEs. Changes
|
|
# to /etc/default/mdns-alias will cause Finit to restart not reload.
|
|
service <service/mdns/running> env:-/etc/default/mdns-alias \
|
|
[2345] mdns-alias -H $MDNS_ALIAS_ARGS --
|