Domain Detective

API Reference

Class

DnsAmplificationAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements
Modifiers sealed

Evaluates DNS amplification posture for a domain's authoritative name servers.

Inheritance

  • Object
  • DnsAmplificationAnalysis

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Methods

public async Task Analyze(String domainName, InternalLogger logger, CancellationToken cancellationToken = null) #
Returns: Task

Executes the analyze operation.

Parameters

domainName System.String requiredposition: 0
logger DomainDetective.InternalLogger requiredposition: 1
cancellationToken System.Threading.CancellationToken = null optionalposition: 2

Properties

public String Subject { get; set; } #

Gets or sets the subject value.

public DnsConfiguration DnsConfiguration { get; set; } #

Gets or sets the dns configuration value.

public TimeSpan Timeout { get; set; } #

Maximum time allowed per UDP probe.

public Int32 MaxServersToProbe { get; set; } #

Max servers (A/AAAA endpoints) to probe to avoid aggressive scanning.

public Int32 LargeUdpResponseThreshold { get; set; } #

UDP response size considered "large" for amplification posture.

public Double HighAmplificationFactorThreshold { get; set; } #

Amplification factor considered high (response/query).

public Dictionary<String, DnsAmplificationServerResult> ServerResults { get; set; } #

Gets or sets the server results value.

public Func<String, DnsRecordType, Task<DnsAnswer[]>> QueryDnsOverride { get; set; } #

Optional override for DNS queries (NS/A/AAAA discovery) used in tests.

public Func<IPAddress, Byte[], CancellationToken, Task<Byte[]>> QueryUdpOverride { get; set; } #

Optional override for raw UDP queries used in tests.

public virtual List<Assessment> Assessments { get; } #

Gets the assessments value.

public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #

Represents the recommendations value.

{{ include "footer" }}