Evian
Evian

Reputation: 1197

Can Linux mDNS client be "pure" client?

I found some famous mDNS clients, such as nss-mdns, Avahi-browse, are dependent on avahi-daemon. However, if we start avahi-daemon, the client machine also publish its mDNS domain name and become a mDNS server. Is there a mDNS client in Linux that only does the client job?

Upvotes: 2

Views: 345

Answers (1)

Daniel Kleinstein
Daniel Kleinstein

Reputation: 5502

Have a look at avahi-daemon.conf:

Section [publish] disable-publishing=

Takes a boolean value ("yes" or "no"). If set to "yes", no record will be published by Avahi, not even address records for the local host. Avahi will be started in a querying-only mode. Use this is a security measure. This option defaults to "no".


So if you edit /etc/avahi/avahi_daemon.conf with

[publish]
disable_publishing=yes

and restart the service (e.g. service avahi-daemon restart), avahi will stop responding to mDNS requests.

Upvotes: 1

Related Questions