-
Notifications
You must be signed in to change notification settings - Fork 957
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
refactor(mdns): Parse messages using trust-dns-proto
instead of dns-parse
#3102
refactor(mdns): Parse messages using trust-dns-proto
instead of dns-parse
#3102
Conversation
b0b4ba9
to
d5d0c9e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Hi, is this pull request ready to be merged and released? |
dns-parse
with trust-dns-proto
I think this is safe to merge, yes. |
dns-parse
with trust-dns-proto
trust-dns-proto
instead of dns-parse
@jxs: This PR actually had a broken job: https://github.com/libp2p/rust-libp2p/actions/runs/3465658904/jobs/5788668836 |
I opened an issue here: https://github.com/bluejekyll/trust-dns/issues/1830 |
I'd like to avoid dragging in the entirety of We can then patch Thoughts? |
Reverting works for me. Thanks for fixing this upstream @jxs. |
Thanks Thomas, yeah makes sense to revert. Meanwhile I submitted https://github.com/bluejekyll/trust-dns/pull/1831. |
Thanks for submitting the PR! |
On #3102 we left the `tokio-runtime` feature because of https://github.com/bluejekyll/trust-dns/issues/1830, meanwhile https://github.com/bluejekyll/trust-dns/pull/1831 was merged and `0.23.0` was released with it, so we no longer require the `tokio-runtime` feature. Pull-Request: #4418.
Description
While researching #3100 and #2676, I found that
dns-parser
the dependency we are using to parse the DNS messages only supports ASCII names, IDN's seem to support UTF8.dns-parser
looks unmaintained since 2018 andtrust-dns
supports UTF8, so while I am not sure this PR will solve the issues above mentioned, it will maybe help address the flakiness mentioned on #2676 (I myself have had cases where themdns
tests fail sometimes) sincetrust-dns
is more popular and probably used. We will also stop havingDEBUG
logs for UTF8 DNS messages.Links to any relevant issues
#3100 and #2676
Open Questions
Change checklist