@gibme/dns
    Preparing search index...

    Class HINFO

    Encoder for DNS HINFO (Host Information) resource records (Type 13).

    Describes the hardware and operating system of a host.

    RFC 1035 Section 3.3.2

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    type: number = 13

    IANA resource record type identifier

    Methods

    • Decodes an HINFO record from the byte stream.

      Parameters

      • reader: Reader

        the byte stream reader

      Returns HINFO.Record

      the decoded HINFO record

    • Encodes an HINFO record into the byte stream.

      Parameters

      • writer: Writer

        the byte stream writer

      • data: HINFO.Record

        the HINFO record to encode

      Returns void