@gibme/dns
    Preparing search index...

    Class NAPTR

    Encoder for DNS NAPTR (Naming Authority Pointer) resource records (Type 35).

    Specifies rules for rewriting domain names for DDDS applications.

    RFC 3403

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    type: number = 35

    IANA resource record type identifier

    Methods

    • Decodes a NAPTR record from the byte stream.

      Parameters

      • reader: Reader

        the byte stream reader

      Returns NAPTR.Record

      the decoded NAPTR record

    • Encodes a NAPTR record into the byte stream.

      Parameters

      • writer: Writer

        the byte stream writer

      • data: NAPTR.Record

        the NAPTR record to encode

      • index: CompressionIndex

        compression index for DNS name compression

      Returns void