mDNS resolution with systemd

Jean-Marie Delapierre jm.delapierre at free.fr
Wed Dec 20 09:50:49 UTC 2023


Hi,

On one of my servers, I use avahi to realize mDNS resolution. With avahi 
I am able to choose on which ip version I want avahi to answer to mdns 
requests (ipv4 or ipv6). In my opinion, this is convenient on local 
networks with both stacks, espacially for tracking purposes on the 
network).

I have understood that avahi has to be replaced by systemd-networkd 
and/or systemd-resolved and I have tried to implement the save behavior 
with it... Without success (may be I have not found the correct place to 
adjust it).

Following are the capabilities I would like to find in systemd for mDNS 
resolution (espacially on a server) :

- One can specify If he wants systemd to respond only  in ipv4 or ipv6 
(or both, by default ?) ;

- In ipv4, one can specify the sub-network on which he wants systemd to 
respond to mdns requests (in my opinion, the full ipv4 adresse is to be 
elaborated by systemd-network) ;

- in ipv6, one can specify the prefix on which he wants systemd to 
respond to mdns requests (in my opinion, the full ipv6 adresse is to be 
elaborated by systemd-network) ;

Thank you in advance for reading me.

Regards.

Jean-Marie Delapierre



More information about the systemd-devel mailing list