SYSTEMD.DNSSD(5) systemd.dnssd SYSTEMD.DNSSD(5) systemd.dnssd - DNS-SD network_service.dnssd DNS-SD systemd-resolved(8). .dnssd . .dnssd /usr/lib/systemd/dnssd /usr/local/lib/systemd/dnssd /run/systemd/dnssd /etc/systemd/dnssd. . . /etc/ /run/ /usr/lib/. . foo.dnssd "" foo.dnssd.d/. ".conf" . . . /etc/systemd/dnssd ".d" /usr/lib/systemd/dnssd /run/systemd/dnssd. /etc/ /run/ /usr/lib/ /usr/local/lib. . [SERVICE] [Service] DNS . Name= 4.1.1 RFC 6763[1] "webserver". . : 1. +-------------------+-----------------------------+--------------------------------+ | | | | +-------------------+-----------------------------+--------------------------------+ |"%a" | | | | | | | | | | | | | | | | | | . | | | | x86 | | | | x86-64 arm64. | | | | | | | | | | | | | | | | ConditionArchitecture= | | | | systemd.unit(5) | | | | | | | | | | | | . | +-------------------+-----------------------------+--------------------------------+ |"%A" | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IMAGE_VERSION= | | | | /etc/os-release. | | | | | | | | | | | | | | | | . | | | | os-release(5) | | | | | | | | . | +-------------------+-----------------------------+--------------------------------+ |"%b" | | | | | | | | | | | | | | | | | | | | | | | | | | . | | | | random(4) | | | | | | | | . | +-------------------+-----------------------------+--------------------------------+ |"%B" | | | | | | | | | | | | | | | | | | | | | | | | | | BUILD_ID= | | | | /etc/os-release. | | | | | | | | | | | | | | | | | | | | . | | | | os-release(5) | | | | | | | | . | +-------------------+-----------------------------+--------------------------------+ |"%H" | | | | | | | | | | . | +-------------------+-----------------------------+--------------------------------+ |"%m" | | | | | | | | | | | | | | | | | | | | | | | | | | . | | | | machine-id(5) | | | | | | | | . | +-------------------+-----------------------------+--------------------------------+ |"%M" | | | | | | | | | | | | | | | | | | | | | | | | | | IMAGE_ID= | | | | /etc/os-release. | | | | | | | | | | | | | | | | | | | | . | | | | os-release(5) | | | | | | | | . | +-------------------+-----------------------------+--------------------------------+ |"%o" | | | | | | | | | | | | | | | | | | | | | | ID= | | | | /etc/os-release. | | | | os-release(5) | | | | | | | | . | +-------------------+-----------------------------+--------------------------------+ |"%v" | | | | | | uname | | | | -r. | +-------------------+-----------------------------+--------------------------------+ |"%w" | | | | | | | | | | | | | | | | | | | | | | | | | | VERSION_ID= | | | | /etc/os-release. | | | | | | | | | | | | | | | | | | | | . | | | | os-release(5) | | | | | | | | . | +-------------------+-----------------------------+--------------------------------+ |"%W" | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VARIANT_ID= | | | | /etc/os-release. | | | | | | | | | | | | | | | | | | | | . | | | | os-release(5) | | | | | | | | . | +-------------------+-----------------------------+--------------------------------+ |"%%" | | "%%" | | | | "%" | | | | | | | | | | | | | | | | . | +-------------------+-----------------------------+--------------------------------+ 236. Type= 4.1.2 RFC 6763[1] "_http._tcp". 236. SubType= 7.1 RFC 6763[1] "_printer". 256. Port= IP . 236. Priority= SRV . 236. Weight= SRV . 236. TxtText= / TXT "path=/portal/index.html". C . TxtData= TXT . . 236. TxtData= / TXT base64 "data=YW55IGJpbmFyeSBkYXRhCg==". C . TxtText= TXT . . 236. 1. HTTP # /etc/systemd/dnssd/http.dnssd [Service] Name=%H Type=_http._tcp Port=80 TxtText=path=/stats/index.html t=temperature_sensor http MulticastDNS . "resolvectl" : $ resolvectl service meteo._http._tcp.local meteo._http._tcp.local: meteo.local:80 [priority=0, weight=0] 169.254.208.106%senp0s21f0u2u4 fe80::213:3bff:fe49:8aa%senp0s21f0u2u4 path=/stats/index.html t=temperature_sensor (meteo/_http._tcp/local) -- Information acquired via protocol mDNS/IPv6 in 4.0ms. -- Data is authenticated: yes "Avahi" : $ avahi-browse -a -r + enp3s0 IPv6 meteo Web Site local + enp3s0 IPv4 meteo Web Site local = enp3s0 IPv6 meteo Web Site local hostname = [meteo.local] address = [fe80::213:3bff:fe49:8aa] port = [80] txt = ["path=/stats/index.html" "t=temperature_sensor"] = enp3s0 IPv4 meteo Web Site local hostname = [meteo.local] address = [169.254.208.106] port = [80] txt = ["path=/stats/index.html" "t=temperature_sensor"] systemd(1), systemd-resolved.service(8), resolvectl(1) 1. RFC 6763 https://tools.ietf.org/html/rfc6763 3 . . : . systemd 260.2 SYSTEMD.DNSSD(5)