Skip to content

Add support for DNS in non-Windows environments #185

@SteveSyfuhs

Description

@SteveSyfuhs

Is your feature request related to a problem? Please describe.
DNS lookups only work on Windows today because it calls into win32 APIs directly. .NET doesn't provide a way to query for SRV records.

Describe the solution you'd like
The library needs a way to make DNS queries outside of Windows. The solution should be to provide a way to bring your own DNS implementation that way you can use something like https://github.com/MichaCo/DnsClient.NET on other platforms.

Describe alternatives you've considered
You could rely completely on a krb5 configuration file to provide all the necessary records, but that's complicated and messy.

Additional context
Design should be similar to the CryptoPal so callers can register their DNS mechanisms. A side-car nuget package could be created that wires in the DnsClient.NET implementation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions