Skip to content

mDNS Advertisement #4

@dotsam

Description

@dotsam

I recently set up umdns on my router, and was surprised to see this service advertised at _https-dns-proxy._udp.local, mostly because in my config (and the default config), https-dns-proxy is only listening on 127.0.0.1, so the advertised service is not accessible to anyone seeing the advertisement.

Further, this package is trying to advertise the same service on multiple ports (if multiple proxies are set up), and although the mDNS/DNS-SD spec does allow for multiple SRV records to indicate different ports for a service with different priorities, umdns doesn't support this, and even if it did, as each port is serving a different proxied DNS provider, I don't it's quite the right modelling of things.

umdns itself does have support for multiple "instances" of a service on a host, but the OpenWRT procd function procd_add_mdns doesn't support this, so you would have to roll your own code to construct the right JSON object.

Ultimately, I don't know if it's really worth it to keep the mDNS advertisement here, but at the very least, I would like to see it skipped if the listen address is 127.0.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions