Domain Detective

API Reference

Class

DnsServerQuery

Namespace DomainDetective
Assembly DomainDetective
Modifiers sealed

Builder for querying DNS servers by country, location and count.

Inheritance

  • Object
  • DnsServerQuery

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public DnsServerQuery() #

Methods

public static DnsServerQuery Create() #
Returns: DnsServerQuery

Creates a new query instance.

public DnsServerQuery FilterServers(Nullable<CountryId> country, Nullable<LocationId> location, Nullable<Int32> take) #
Returns: DnsServerQuery

Applies all filters in a single call.

Parameters

country System.Nullable{DomainDetective.CountryId} requiredposition: 0
Country filter.
location System.Nullable{DomainDetective.LocationId} requiredposition: 1
Location filter.
take System.Nullable{System.Int32} requiredposition: 2
Number of servers to take.

Returns

The current DnsServerQuery instance.

FromCountry 2 overloads
public DnsServerQuery FromCountry(CountryId id) #
Returns: DnsServerQuery

Filters by country name.

Parameters

name System.String requiredposition: 0
FromCountry(DomainDetective.CountryId id) #

Filters by country enum.

Parameters

id DomainDetective.CountryId required
FromLocation 2 overloads
public DnsServerQuery FromLocation(LocationId id) #
Returns: DnsServerQuery

Filters by location name.

Parameters

name System.String requiredposition: 0
FromLocation(DomainDetective.LocationId id) #

Filters by location enum.

Parameters

id DomainDetective.LocationId required
public DnsServerQuery Take(Int32 count) #
Returns: DnsServerQuery

Limits the number of servers returned.

Parameters

count System.Int32 requiredposition: 0

Properties

public Nullable<CountryId> Country { get; set; } #

Selected country.

public Nullable<LocationId> Location { get; set; } #

Selected location.

public Nullable<Int32> TakeCount { get; set; } #

Number of servers to take.

{{ include "footer" }}