Class DnsProbeAnswer

Namespace
Kuestenlogik.Bowire.Security.Scanner
Assembly
Kuestenlogik.Bowire.Security.Scanner.dll

One resolved DNS response, flattened to the two things a translated Nuclei matcher can see: the response code and the answer records.

public sealed class DnsProbeAnswer
Inheritance
DnsProbeAnswer
Inherited Members

Constructors

DnsProbeAnswer()

public DnsProbeAnswer()

Properties

Answers

Answer-section records, one pre-rendered line each (name. ttl CLASS TYPE rdata, the shape dig prints).

public IReadOnlyList<string> Answers { get; init; }

Property Value

IReadOnlyList<string>

ResponseCode

DNS RCODE — 0 NOERROR, 3 NXDOMAIN, … Surfaces as Status, so a template's type: status matcher reads the rcode rather than an HTTP status.

public int ResponseCode { get; init; }

Property Value

int