Domain Detective

API Reference

Class

WildcardDnsAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements

Detects wildcard DNS configurations by querying random subdomains.

Inheritance

  • Object
  • WildcardDnsAnalysis

Usage

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

Returned or exposed by

Accepted by parameters

Constructors

Methods

public async Task Analyze(String domainName, InternalLogger logger, Int32 sampleCount = 3) #
Returns: Task

Queries random subdomains and detects wildcard DNS behaviour.

Parameters

domainName System.String requiredposition: 0
Domain to analyze.
logger DomainDetective.InternalLogger requiredposition: 1
Optional logger used for diagnostics.
sampleCount System.Int32 = 3 optionalposition: 2
Number of random names to test.

Properties

public List<String> TestedNames { get; set; } #

Names that were queried.

public List<String> ResolvedNames { get; set; } #

Names that returned a record.

public List<String> ResolvedAddresses { get; set; } #

Unique IP addresses returned for tested names.

public Boolean CatchAll { get; set; } #

Whether all random names resolved.

public Double ConsistencyThreshold { get; set; } #

Minimum fraction of matching results required.

public Int32 RetryCount { get; set; } #

Number of attempts for each query.

public Boolean SoaExists { get; set; } #

Whether the domain has an SOA record.

public Boolean NsExists { get; set; } #

Whether the domain has NS records.

public DnsConfiguration DnsConfiguration { get; set; } #

Configuration used for DNS lookups.

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

Optional DNS query delegate for testing purposes.

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

Gets the assessments value.

public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #

Represents the recommendations value.

{{ include "footer" }}