Domain Detective

API Reference

Class

DnsQueryable

Namespace DnsClientX.Linq
Assembly DnsClientX
Implements
IEnumerable<DnsAnswer> IEnumerable

Lightweight LINQ-friendly wrapper that resolves DNS names and exposes the results as IEnumerable. Uses only Enumerable-based LINQ operators (AOT-safe) and caches results for repeated enumeration.

Inheritance

  • Object
  • DnsQueryable

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

Constructors

public DnsQueryable(ClientX client, IEnumerable<String> names, DnsRecordType type) #

Creates a DNS enumerable for the given names and record type.

Parameters

client DnsClientX.ClientX requiredposition: 0
names System.Collections.Generic.IEnumerable{System.String} requiredposition: 1
type DnsClientX.DnsRecordType requiredposition: 2

Methods

public virtual IEnumerator<DnsAnswer> GetEnumerator() #
Returns: IEnumerator<DnsAnswer>

Enumerates resolved DNS answers (resolution is performed once and cached).

public Task<List<DnsAnswer>> ToListAsync() #
Returns: Task<List<DnsAnswer>>

Executes the query asynchronously and returns all answers.

{{ include "footer" }}