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

Querying returns empty vector as data #4

Closed
solanav opened this issue Aug 21, 2024 · 3 comments
Closed

Querying returns empty vector as data #4

solanav opened this issue Aug 21, 2024 · 3 comments

Comments

@solanav
Copy link

solanav commented Aug 21, 2024

When using the current version published on github of dns-client, queryies are completed but return no data. As data I get an empty vector and as length I get zero.

image

@Shinmera
Copy link
Owner

Shinmera commented Aug 21, 2024

it returns APL records, which the library doesn't know how to decode. why it thinks they're APL records instead of MX I'm not sure. Having a look.

@solanav
Copy link
Author

solanav commented Aug 21, 2024

image

Could it be :id being set to 42 (type APL in the types)?

@Shinmera
Copy link
Owner

Shinmera commented Aug 21, 2024

The problem is in decode-host returning a bad end offset. I'm trying to figure out why.

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

No branches or pull requests

2 participants