dns-forward

Library and tools for creating forwarding DNS servers
IN THIS PACKAGE
Module Dns_forward . Server . Make

Parameters

Signature

type t

A forwarding DNS proxy

type resolver = Resolver.t
val create : resolver -> t Lwt.t

Construct a server given a resolver configuration

val serve : address:Config.Address.t -> t -> unit Error.t

Serve requests on the given address forever

val destroy : t -> unit Lwt.t

Shutdown the server and release allocated resources