package dns

  1. Overview
  2. Docs

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 located at?", you can ask "who is located at" ( for IPv6 addresses).

type t = [ `host ] Domain_name.t

The type of a PTR record.

val pp : t Fmt.t

pp ppf t pretty-prints the domain name pointer.

val compare : t -> t -> int

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


Innovation. Community. Security.