bonjour
bonjour copied to clipboard
Service.prototype._records violates protocol specification (RFC 6762 "Multicast DNS")
Good job, so far. Thank you.
On a machine with multiple network interfaces (ethernet, wlan, mobile broadband) a service is pulished with a- and aaaa-records for all IP adresses on any interface.
RFC 6762, Chapter 14. Considerations for Multiple Interfaces states:
Except in the case of proxying and other similar specialized uses, addresses in IPv4 or IPv6 address records in Multicast DNS responses MUST be valid for use on the interface on which the response is being sent.
There should be a configurable filter or a separation by interface/IP address.