:: Re: [DNG] installing/uninstalling s…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Didier Kryn
日付:  
To: dng
題目: Re: [DNG] installing/uninstalling services
Le 11/01/2025 à 14:16, Didier Kryn a écrit :
> Le 11/01/2025 à 11:59, Andrew Bower a écrit :
>> On Sat, Jan 11, 2025 at 12:34:39AM -0500, Walter Dnes wrote:
>>
>>> 2) When doing "rc-update" to list running services, I see "avahi-daemon"
>>> and "pulseaudio-enable-autospawn"!!! Are they really necessary?
>> Avahi-daemon runs the multicast DNS stack for service discovery
>> between devices on your LAN (e.g. finding your printer automatically!)
>
>     ... and (let me repeat it) your ssh server at address
> foobar.local, if foobar is the name of your host, as printed by the
> command 'hostname'. And also your web server, if any, at address
> http://foobar.local/
>
>     This is the DNS-SD protocol, developped originally by Apple under
> the name "Bonjour". It is supported by every OS, including Android.
> Devuan's support for DNS-SD is avahi-daemon.
>
>     It allows you to print documents from your smartphone, since
> Android also supports CUPS. I guess all this is also valid with IOS.
> The only OS not supporting CUPS is Windoze.
>
>     AFAIU what you're doing, I doubt you need pulseaudio.
>
>> So if you don't want that you can ditch it.


    There is a confusion, not only in my mind, but also on the Web
between mDNS (multicast DNS) and DNS-SD (DNS + service discovery).  I
have found, for the first time a document which gives some details on
the configuration of avahi-daemon
(https://www.linuxembedded.fr/2020/08/bonjour-mon-nom-est-dns-sd). But
avahi-daemon does what Andrew and me wrote without needing any
configuration.

    I am particularly interested by this protocol and service because I
am currently developping a web server specifically for the LAN. I have
experimented running my own DNS on a server but it was never
interrogated by Android, however Android is always able to reach my
server under <hostname>.local; Linux also; and this is possible thanks
to the host running avahi-daemon.

--     Didier