Appearance
DnsService Class
Definition
Provides DNS resolution using a from-scratch resolver that queries name servers directly over UDP with automatic TCP fallback. A name server may be specified explicitly; when one is omitted the servers configured on the local operating system are used.
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Fields
| Name | Description |
|---|---|
DefaultPort | The default UDP and TCP port used for DNS queries. |
Methods
Remarks
This is a stub resolver: it asks a configured recursive name server to perform resolution rather than walking the DNS hierarchy from the root. It does not perform DNSSEC validation.
A server-reported response code (such as NameError for a non-existent name) is returned on the DnsQueryResult rather than thrown. Transport-level failures across all candidate servers throw DnsQueryFailedException.