Domain Detective

API Reference

Class

FlatteningServiceAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements

Detects if CNAME records point to known flattening services like Cloudflare.

Inheritance

  • Object
  • FlatteningServiceAnalysis

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 domain CNAME and determines if it belongs to a flattening service.

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; } #

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; } #

The target of the CNAME record.

public Boolean IsFlatteningService { get; set; } #

True when the CNAME points to a known flattening service.

public List<String> Addresses { get; } #

Flattened A/AAAA addresses resolved for the apex.

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

Structured assessments captured during flattening service detection.

public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #

Recommendations derived from assessments.

{{ include "footer" }}