Don't use 5353 source port for mDNS queries
RFC 6762 section 5.1 says that one-shot Multicast DNS queries MUST NOT be sent using UDP source port 5353, since using UDP source port 5353 signals the presence of a fully compliant Multicast DNS querier. DNS resolver works as a one-shot Multicast DNS querier, which send queries from random port and does not fully implement Multicast DNS features. The 5353 source port should be excluded from random port selection. Bug: 227147672 Test: atest Change-Id: I05d426c179182d3f08b037cb1bab3a43ea501063
Loading
Please register or sign in to comment