package dns

  1. Overview
  2. Docs
type label
type domain_name = string list
module Map : sig ... end
val domain_name_to_string : domain_name -> string
val string_to_domain_name : string -> domain_name
val for_reverse : Ipaddr.V4.t -> domain_name
val parse_name : (int, label) Hashtbl.t -> int -> Cstruct.t -> domain_name * (int * Cstruct.t)
val marshal_name : ?compress:bool -> int Map.t -> int -> Cstruct.t -> domain_name -> int Map.t * int * Cstruct.t
val hashcons_charstring : string -> string Hashcons.hash_consed
val hashcons_domainname : domain_name -> domain_name Hashcons.hash_consed
val clear_cons_tables : unit -> unit
exception BadDomainName of string
type key = string
val canon2key : domain_name -> key
val dnssec_compare : domain_name -> domain_name -> int
OCaml

Innovation. Community. Security.