API Reference
DanglingCnameAnalysis
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
- Property DomainHealthCheck.DanglingCnameAnalysis
- Property DanglingCnameInfo.Raw
Accepted by parameters
- Method Converters.Convert
Constructors
public DanglingCnameAnalysis() #Methods
public async Task Analyze(String domainName, InternalLogger logger, CancellationToken ct = null) #TaskQueries the CNAME record for a domain and checks the target.
Parameters
- domainName System.String
- logger DomainDetective.InternalLogger
- ct System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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.