package dns-forward

  1. Overview
  2. Docs

DNS messages are framed when sent over other protocols. These modules convert byte-stream flows into streams of framed messages.

module type S = sig ... end

Read and write framed DNS packets

module Tcp (Flow : Mirage_flow_lwt.S) : S with type flow = Flow.flow

Use TCP framing

module Udp (Flow : Mirage_flow_lwt.S) : S with type flow = Flow.flow

Use UDP framing

OCaml

Innovation. Community. Security.