package dns

  1. Overview
  2. Docs
val bind_fd : address:string -> port:int -> (Lwt_unix.file_descr * Lwt_unix.sockaddr) Lwt.t
val eventual_process_of_zonefile : string -> Dns.Packet.t Dns_server.process Lwt.t
val listen : fd:Lwt_unix.file_descr -> src:Lwt_unix.sockaddr -> processor:(module Dns_server.PROCESSOR) -> unit Lwt.t
val serve_with_processor : address:string -> port:int -> processor:(module Dns_server.PROCESSOR) -> unit Lwt.t
val serve_with_zonebuf : address:string -> port:int -> zonebuf:string -> unit Lwt.t
val serve_with_zonefile : address:string -> port:int -> zonefile:string -> unit Lwt.t
OCaml

Innovation. Community. Security.