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

Port akka.io.dns and akka.discovery.dns #5136

Open
Arkatufus opened this issue Jul 8, 2021 · 4 comments
Open

Port akka.io.dns and akka.discovery.dns #5136

Arkatufus opened this issue Jul 8, 2021 · 4 comments
Labels
akka-discovery Akka.Discovery-related issues akka-io

Comments

@Arkatufus
Copy link
Contributor

Porting akka.discovery.dns over from the JVM implementation would also require a port of the akka.io.dns namespace.
We could not use the built-in DNS client in dotnet because it is seriouly lacking in features, as it only handles the ANAME DNS query, so we would also need to port the JVM DNS client implementation or roll our own DNS client implementation.

  • Port DNS client
    • Able to handle DNS protocol, especially the A, AAAA, and SRV records and be able to extract TTL information
    • Have a cache for all resolved DNS record lookup and be able to do periodic check for record expiry
    • Test suite
  • akka.discovery.dns.DnsServiceDiscovery
    • Test suite
@Aaronontheweb Aaronontheweb added akka-io akka-discovery Akka.Discovery-related issues labels Jul 8, 2021
@ismaelhamed
Copy link
Member

@Arkatufus I'd say DnsClient checks all the boxes.

@Aaronontheweb
Copy link
Member

I'd be fine taking a dependency on that inside Akka.Discovery. Probably wouldn't want that as part of Akka.IO. Do you think that'd be a reasonable compromise?

@ismaelhamed
Copy link
Member

Sounds good. Actually, what would be a use case for Akka.IO.Dns? I don't think I've seen it being used anywhere.

@Aaronontheweb
Copy link
Member

Sounds good. Actually, what would be a use case for Akka.IO.Dns? I don't think I've seen it being used anywhere.

Other than Akka.Discovery - I have no idea. Doesn't make a lot of sense to have it IMHO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
akka-discovery Akka.Discovery-related issues akka-io
Projects
None yet
Development

No branches or pull requests

3 participants