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

dns: inbuilt resolver should return both IPv6 and IPv4 records if request type is ANY #249

Open
flouthoc opened this issue Nov 4, 2022 · 2 comments · May be fixed by #250
Open

dns: inbuilt resolver should return both IPv6 and IPv4 records if request type is ANY #249

flouthoc opened this issue Nov 4, 2022 · 2 comments · May be fixed by #250

Comments

@flouthoc
Copy link
Collaborator

flouthoc commented Nov 4, 2022

Inbuilt resolver returns IPv4 and IPv6 correctly for A or AAAA requests but it should return both when request type is ANY.

ANY request is not common but certain libraries and tools use this to get both v6 and v4 records therefore aardvark-dns should support it.

flouthoc added a commit to flouthoc/aardvark-dns that referenced this issue Nov 4, 2022
Aardvark-dns must return both `IPv6` and `IPv4` if the DNS request has
record type `ANY` instead of `A` or `AAAA` record type.

Closes: containers#249

Signed-off-by: Aditya R <[email protected]>
@flouthoc
Copy link
Collaborator Author

flouthoc commented Nov 4, 2022

Created a PR for this: #250

flouthoc added a commit to flouthoc/aardvark-dns that referenced this issue Nov 10, 2022
Aardvark-dns must return both `IPv6` and `IPv4` if the DNS request has
record type `ANY` instead of `A` or `AAAA` record type.

Closes: containers#249

Signed-off-by: Aditya R <[email protected]>
@tripougnif
Copy link

To support the default behaviour of most resolvers, aardvark-dns must also be able to respond to ANY queries over TCP.

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

Successfully merging a pull request may close this issue.

2 participants