@gibme/dns
    Preparing search index...

    Class SOA

    Encoder for DNS SOA (Start of Authority) resource records (Type 6).

    Marks the start of a zone of authority and contains zone administration parameters.

    RFC 1035 Section 3.3.13

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    type: number = 6

    IANA resource record type identifier

    Methods

    • Decodes a SOA record from the byte stream.

      Parameters

      • reader: Reader

        the byte stream reader

      Returns SOA.Record

      the decoded SOA record

    • Encodes a SOA record into the byte stream.

      Parameters

      • writer: Writer

        the byte stream writer

      • data: SOA.Record

        the SOA record to encode

      • index: CompressionIndex

        compression index for DNS name pointer compression

      Returns void