brutella / dnssd

This library implements Multicast DNS (mDNS) and DNS-Based Service Discovery (DNS-SD) for Zero Configuration Networking in Go.
MIT License
207 stars 33 forks source link

Sets TTL for IP messages to 255 #53

Closed eelcocramer closed 1 month ago

eelcocramer commented 1 month ago

We are facing an issue where mDNS requests are not passing our managed switch due to the TTL is set to 1.

In rfc6762 is stated that IP TTL 255 should be used for mDNS IP multicast frames.

This PR sets the TTL to 255 for all outgoing UDP frames.

brutella commented 1 month ago

Thanks for pointing this out.