Interface IDns
Assembly: Catalyst.Abstractions.dll
Syntax
Methods
|
Improve this Doc
View Source
GetSeedNodesFromDns(IEnumerable<String>)
Returns a list of seed nodes from TXT records
Declaration
IEnumerable<PeerId> GetSeedNodesFromDns(IEnumerable<string> urls)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.String> |
urls |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<PeerId> |
|
|
Improve this Doc
View Source
GetTxtRecordsAsync(IList<String>)
Declaration
Task<IList<IDnsQueryResponse>> GetTxtRecordsAsync(IList<string> hostnames)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<System.String> |
hostnames |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.IList<IDnsQueryResponse>> |
|
|
Improve this Doc
View Source
GetTxtRecordsAsync(String)
Declaration
Task<IDnsQueryResponse> GetTxtRecordsAsync(string hostname)
Parameters
Type |
Name |
Description |
System.String |
hostname |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDnsQueryResponse> |
|