@gibme/dns
    Preparing search index...

    Class TSIG

    Encoder for DNS TSIG (Transaction Signature) resource records (Type 250).

    Provides transaction-level authentication for DNS messages.

    RFC 8945

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    type: number = 250

    IANA resource record type identifier

    Methods

    • Decodes a TSIG record from the byte stream.

      Parameters

      • reader: Reader

        the byte stream reader

      Returns TSIG.Record

      the decoded TSIG record

    • Parameters

      • reader: Reader

      Returns number

    • Encodes a TSIG record into the byte stream.

      Parameters

      • writer: Writer

        the byte stream writer

      • data: TSIG.Record

        the TSIG record to encode

      • index: CompressionIndex

        compression index for DNS name compression

      Returns void

    • Parameters

      • time: number

      Returns Buffer