package dns

  1. Overview
  2. Docs

Module Dns.PtrSource

Domain name pointer

A domain name pointer (PTR) record specifies the name for an IP address. This allows reverse lookups, instead of asking "which address is example.com located at?", you can ask "who is located at 3.4.5.6.in-addr.arpa.?" (ip6.arpa for IPv6 addresses).

Sourcetype t = [ `host ] Domain_name.t

The type of a PTR record.

Sourceval pp : t Fmt.t

pp ppf t pretty-prints the domain name pointer.

Sourceval compare : t -> t -> int

compare a b compares the domain pointer pointer a with b.

OCaml

Innovation. Community. Security.