API Reference
Class
ReverseDnsAnalysis
Validates PTR records for MX hosts.
Inheritance
- Object
- ReverseDnsAnalysis
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.ReverseDnsAnalysis
- Property ReverseDnsInfo.Raw
Accepted by parameters
- Method ReverseDnsNarrative.Build
- Method Converters.Convert
Constructors
public ReverseDnsAnalysis() #Methods
public async Task AnalyzeHosts(IEnumerable<String> hosts, InternalLogger logger = null) #Returns:
TaskChecks PTR records for the specified MX hosts.
Parameters
- hosts System.Collections.Generic.IEnumerable{System.String}
- MX host names.
- logger DomainDetective.InternalLogger = null
- Optional diagnostic logger.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Subject { get; set; } #Gets or sets the subject value.
public DnsConfiguration DnsConfiguration { get; set; } #Provides DNS configuration for lookups.
public Func<String, DnsRecordType, Task<DnsAnswer[]>> QueryDnsOverride { get; set; } #Optional DNS query override.
public Func<String, DnsRecordType, Task<IEnumerable<DnsResponse>>> QueryDnsFullOverride { get; set; } #Optional override returning raw DNS responses.
public List<ReverseDnsResult> Results { get; set; } #Gets the collection of PTR results.
public Boolean AllValid { get; } #Indicates whether all MX hosts have matching PTR records.
public virtual List<Assessment> Assessments { get; } #Examples
Validate PTR records for MX hosts
var hc = new DomainHealthCheck();
await hc.Verify("example.com", new[] { HealthCheckType.REVERSEDNS });
public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #Represents the recommendations value.