Domain Detective

API Reference

Class

CmdletTestDnsPropagation

Namespace DomainDetective.PowerShell
Assembly DomainDetective.PowerShell
Implements
IDisposable
Modifiers sealed
Attributes
Cmdlet("Test", "DDDnsPropagation", DefaultParameterSetName = "Builtin") Alias(["Test-DnsPropagation"])

Checks how DNS records propagate across public resolvers.

Inheritance

Examples

Test propagation of an A record.


$file = Join-Path (Split-Path ([System.Reflection.Assembly]::GetExecutingAssembly().Location)) 'Data/DNS/PublicDNS.json'; Test-DDDnsPropagation -DomainName example.com -RecordType A -ServersFile $file
        

Select servers by country.


Test-DDDnsPropagation -DomainName example.com -RecordType A -CountryCount @{PL=3;DE=2}
        

Constructors

Methods

ProcessRecordAsync() #

Executes the cmdlet operation.

Returns

A Task representing the asynchronous operation.

Fields

public String[] DomainName #
Parameter(Mandatory = true, ParameterSetName = "Builtin", Position = 0) Parameter(Mandatory = true, ParameterSetName = "ServersFile", Position = 0) ValidateNotNullOrEmpty ValidateDomainName

Domain(s) to query.

public DnsRecordType RecordType #
Parameter(Mandatory = true, ParameterSetName = "Builtin", Position = 1) Parameter(Mandatory = true, ParameterSetName = "ServersFile", Position = 1)

DNS record type to test.

public String ServersFile #
Parameter(Mandatory = true, ParameterSetName = "ServersFile", Position = 2)

Path to JSON file with DNS servers.

public Nullable<CountryId> Country #
Parameter(Mandatory = false)

Filter servers by country.

public Nullable<LocationId> Location #
Parameter(Mandatory = false)

Filter servers by location.

public Nullable<Int32> Take #
Parameter(Mandatory = false)

Limit the number of servers queried.

public Hashtable CountryCount #
Parameter(Mandatory = false)

Select number of servers per country.

public SwitchParameter CompareResults #
Parameter(Mandatory = false)

Return aggregated comparison of results.

public SwitchParameter AsView #
Parameter(Mandatory = false)

Return a typed view object suitable for composition reports.

public Int32 MaxResultsToKeep #
Parameter(Mandatory = false)

Maximum number of resolver results retained in the view (default: 500).

public String SnapshotPath #
Parameter(Mandatory = false)

Directory used to store DNS snapshots.

public SwitchParameter Diff #
Parameter(Mandatory = false)

Return changes since last snapshot.

{{ include "footer" }}