Partial representation of DNS messages (the generalisation for "queries" and "answers").

We're only interested in the answers, so we'll ignore everything else, such as the header or the question.

This implements a tiny subset of the format described in RFC 1035 (Section 4).

Constructors

Properties

answers: readonly DnsRecord[]
header: Header
questions: readonly Question[]

Methods

  • Report whether this message answers the question.

    That is, whether the message questions contains question.

    Parameters

    Returns boolean

Generated using TypeDoc