package dns

  1. Overview
  2. Docs
exception TrieCorrupt
type dnstrie
val new_trie : unit -> dnstrie
val simple_lookup : Name.key -> dnstrie -> RR.dnsnode option
val lookup : Name.key -> dnstrie -> [> `Delegated of bool * RR.dnsnode | `Found of bool * RR.dnsnode * RR.dnsnode | `NXDomain of RR.dnsnode | `NXDomainNSEC of RR.dnsnode * RR.dnsnode * RR.dnsnode | `NoError of RR.dnsnode | `NoErrorNSEC of RR.dnsnode * RR.dnsnode | `Wildcard of RR.dnsnode * RR.dnsnode | `WildcardNSEC of RR.dnsnode * RR.dnsnode * RR.dnsnode ]
val lookup_or_insert : Name.key -> dnstrie -> ?parent:dnstrie -> (unit -> RR.dnsnode) -> RR.dnsnode
val fix_flags : Name.key -> dnstrie -> unit
OCaml

Innovation. Community. Security.