[systemd-devel] getting dns-sd to work

Johannes Ernst johannes.ernst at gmail.com
Fri Apr 13 21:30:12 UTC 2018


Here is what I do:

    mkdir /etc/systemd/dnssd
    cat > /etc/systemd/dnssd/http.dnssd

(the exact example file from "man systemd.dnssd”, minus leading white space)

    systemctl restart systemd-resolved

Then

    avahi-browse -a -r

or

    systemd-resolve —-service myhost._http._tcp.local

as per man page should show me my service, right? Except that it does not. Everything else on my network is there. There is nothing remarkable in the journal, and strace confirms that systemd-resolved actually reads the file.

What am I doing wrong?

This is systemd-238.76 on Arch.

Thanks,



Johannes.



More information about the systemd-devel mailing list