Domain Detective

API Reference

Class

ReverseDnsAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements

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

Accepted by parameters

Constructors

Methods

public async Task AnalyzeHosts(IEnumerable<String> hosts, InternalLogger logger = null) #
Returns: Task

Checks PTR records for the specified MX hosts.

Parameters

hosts System.Collections.Generic.IEnumerable{System.String} requiredposition: 0
MX host names.
logger DomainDetective.InternalLogger = null optionalposition: 1
Optional diagnostic logger.

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.

{{ include "footer" }}