@gibme/dns
    Preparing search index...

    Class NSEC

    Encoder for DNS NSEC (Next Secure) resource records (Type 47).

    Provides authenticated denial of existence for DNSSEC.

    RFC 4034 Section 4

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    type: number = 47

    IANA resource record type identifier

    Methods

    • Decodes an NSEC record from the byte stream.

      Parameters

      • reader: Reader

        the byte stream reader

      Returns NSEC.Record

      the decoded NSEC record

    • Encodes an NSEC record into the byte stream.

      Parameters

      • writer: Writer

        the byte stream writer

      • data: NSEC.Record

        the NSEC record to encode

      • index: CompressionIndex

        compression index for DNS name compression

      Returns void