Domain Detective

API Reference

Class

TakeoverCnameAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements

Detects CNAME records pointing to cloud providers prone to subdomain takeover.

Inheritance

  • Object
  • TakeoverCnameAnalysis

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

Constructors

Methods

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

Queries the domain CNAME and determines if it belongs to a risky provider.

Parameters

domainName System.String requiredposition: 0
logger DomainDetective.InternalLogger requiredposition: 1
ct System.Threading.CancellationToken = null optionalposition: 2
public static Void LoadTakeoverList(String filePath) #
Returns: Void

Loads takeover provider list from a JSON file.

Parameters

filePath System.String requiredposition: 0
JSON array file path.

Properties

public DnsConfiguration DnsConfiguration { get; set; } #

DNS configuration for lookups.

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

Override DNS query logic.

public Boolean CnameRecordExists { get; set; } #

Indicates whether a CNAME record exists.

public String Target { get; set; } #

CNAME target if found.

public Boolean IsTakeoverRisk { get; set; } #

True when the CNAME points to a known takeover risk provider.

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

Gets the assessments value.

public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #

Represents the recommendations value.

{{ include "footer" }}