package dns

  1. Overview
  2. Docs
val gethostbyname : ?server:string -> ?dns_port:int -> ?q_class:Dns.Packet.q_class -> ?q_type:Dns.Packet.q_type -> string -> Cstruct.ipv4 list Lwt.t
val gethostbyaddr : ?server:string -> ?dns_port:int -> ?q_class:Dns.Packet.q_class -> ?q_type:Dns.Packet.q_type -> Cstruct.ipv4 -> string list Lwt.t
OCaml

Innovation. Community. Security.