dart_dns library

Classes

DelegatingDnsClient
A DNS client that delegates operations to another client.
DnsClient
Abstract superclass of DNS clients.
DnsPacket
DnsQuestion
DnsResourceRecord
DnsServer
FilteringDnsClient
A DNS client that can log or modify questions and answers.
HttpDnsClient
DNS client that uses DNS-over-HTTPS protocol supported by Google, Cloudflare, etc.
PacketBasedDnsClient
Superclass of packet-based clients.
SystemDnsClient
Uses system DNS lookup method.
UdpDnsClient
A standard DNS-over-UDP client implementation with EDNS(0) support.

Constants

defaultUdpPayloadSize → const int
dns → const Protocol
typeOpt → const int
EDNS(0) constants

Typedefs

Callback<T> = void Function(T argument)

Exceptions / Errors

DnsClientException
An exception that indicates failure by DnsClient.