Skip to content

Feature request - announcing HOST records (A/AAAA) #374

@darklajid

Description

@darklajid

I saw the discussions about the hostname resolution and am happily using this right now. But I would love to have a way to announce a hostname as well.

My use case: I have applications deployed in really messy real-world networks outside of my control. mDNS is used for auto-discovery wherever possible, otherwise there's a fallback to humans with little technical background to provide the right IP addresses. This is error-prone.

What I would like to add is a way to announce well-known hostnames from clients that are successfully connected.

Server (running avahi) <--- subnets/routing/things breaking mDNS ---> Client A (manually configured by a human, probably on a phone call, to reach the server)

If there's a Client B right next to A in the same subnet, I would like to make A announce "Anyone trying to figure out where example.com is? I got it, guys. Talking to example.com right now". B would just resolve it normally as if on the same subnet as avahi/the server.

Would that be a possible addition for this crate?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions