package dns

  1. Overview
  2. Docs

Load a zone file.

  • author Tim Deegan <tjd\@phlegethon.org>
  • author Richard Mortier <mort\@cantab.net> (documentation)
exception Zone_parse_error of int

Raised when load fails to parse the zone. Argument indicates line number.

val load : ?db:Loader.db -> string list -> string -> Loader.db

Load a domain's zone from a string buffer, into db.