Domain Detective

API Reference

Class

DanglingCnameAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements

Resolves CNAME targets and detects dangling references.

Inheritance

  • Object
  • DanglingCnameAnalysis

Remarks

A dangling CNAME occurs when the target no longer resolves. Such records may expose domains to subdomain takeovers.

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, CancellationToken ct = null) #
Returns: Task

Queries the CNAME record for a domain and checks the target.

Parameters

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

Properties

public String Subject { get; set; } #

Domain under analysis.

public DnsConfiguration DnsConfiguration { get; set; } #

Gets or sets DNS configuration for queries.

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

Gets or sets override for DNS queries.

public Boolean CnameRecordExists { get; set; } #

Gets a value indicating whether a CNAME exists for the domain.

public String Target { get; set; } #

Gets the CNAME target if one was found.

public Boolean TargetResolves { get; set; } #

Gets a value indicating whether the target resolves.

public Boolean KnownService { get; set; } #

Gets a value indicating whether the target belongs to a known service.

public String FailureReason { get; set; } #

If DNS lookups fail, explains why.

public Boolean IsDangling { get; } #

Gets a value indicating whether the CNAME is dangling.

public Boolean UnclaimedService { get; } #

Gets a value indicating whether the target is an unclaimed service.

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

Gets the assessments value.

public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #

Represents the recommendations value.

{{ include "footer" }}