@gibme/dns
    Preparing search index...

    Class Unsupported

    Fallback encoder for unsupported or unknown DNS resource record types.

    Preserves the raw RDATA payload as a Buffer for record types without a dedicated encoder.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Decodes an unsupported record from the byte stream.

      Parameters

      • reader: Reader

        the byte stream reader

      • type: number

        the record type ID

      Returns Unsupported.Record

      the decoded unsupported record

    • Encodes an unsupported record into the byte stream.

      Parameters

      • writer: Writer

        the byte stream writer

      • data: Unsupported.Record

        the unsupported record to encode

      Returns void