Module Async_dns_resolver_unix

Async DNS resolution interface on Unix

val gethostbyname : ?⁠log:Async.Std.Log.t ‑> ?⁠server:string ‑> ?⁠port:int ‑> ?⁠q_class:Dns.Packet.q_class ‑> ?⁠q_type:Dns.Packet.q_type ‑> string ‑> Ipaddr.t list Async.Std.Deferred.Or_error.t