API Reference
Class
FlatteningServiceAnalysis
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
public FlatteningServiceAnalysis() #Methods
public async Task Analyze(String domainName, InternalLogger logger, CancellationToken ct = null) #Returns:
TaskQueries the domain CNAME and determines if it belongs to a flattening service.
Parameters
- domainName System.String
- logger DomainDetective.InternalLogger
- ct System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.