Appearance
GetNameServersAsync Method
Definition
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Task<IReadOnlyList<NsRecord>> GetNameServersAsync(string domain, CancellationToken cancellationToken = null)
csharp
Task<IReadOnlyList<NsRecord>> GetNameServersAsync(string domain, CancellationToken cancellationToken = null)Returns the authoritative name server (NS) records for a domain name.
Parameters
| Name | Description |
|---|---|
cancellationToken | A token to cancel the operation. |
domain | The domain name to query. |
Returns
The NS records found, or an empty list when none exist.