Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [ESP32] ESP32 implementation of ChipDnssdResolve does not query AAAA question if the SRV answer does not contain AAAA records #26135

Closed
wqx6 opened this issue Apr 18, 2023 · 0 comments · Fixed by #26139
Labels

Comments

@wqx6
Copy link
Contributor

wqx6 commented Apr 18, 2023

Reproduction steps

DNS servers are allowed to include the AAAA record when an SRV record is queried (see https://datatracker.ietf.org/doc/html/rfc6763#section-12.2) but are not required to, and some (e.g. the Apple one) do not.

ESP32 platform mdns will only append SRV question in query packet when we call the mdns_query_async_new with the input type MDNS_TYPE_SRV , it will not query the AAAA or A if it does not receives any AAAA or A answers.

Bug prevalence

Whenever I do this

GitHub hash of the SDK that was being used

8809801

Platform

esp32

Platform Version(s)

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants