akkadotnet / akka.net

Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
http://getakka.net
Other
4.72k stars 1.04k forks source link

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

Open Arkatufus opened 3 years ago

Arkatufus commented 3 years ago

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.

ismaelhamed commented 3 years ago

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

Aaronontheweb commented 3 years ago

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 commented 2 years ago

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 commented 2 years ago

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.