-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add module for resolving DNS names to IP addresses #735
Comments
For the initial setup I think we should just go with using |
Note to self: reverse DNS is done using |
A sketch of using dns.inko
|
|
Given the hairy nature of |
For Linux and FreeBSD, parsing |
Given the complexity this likely brings, I'll un-assign this from the 0.16.0 milestone for the time being. |
To ensure we have something to offer, we'll start by just using |
Description
Inko's standard library should provide a
std.net.dns
module, which in turn provides types/methods for looking up DNS names and resolving them to IP addresses. Ideally we'd do so without using libc, by instead parsing/etc/resolv.conf
ourselves and querying the DNS servers through the standard library. For macOS some special care is likely needed as it doesn't useresolv.conf
(or at least considers it obsolete). What exactly is needed here I'm not yet sure of.Related issues
gethostbyname()
& friends are blocking callsRelated work
The text was updated successfully, but these errors were encountered: