Show / Hide Table of Contents

    Class DnsClient

    Inheritance
    System.Object
    DnsClient
    Implements
    IDns
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Catalyst.Core.Lib.Network
    Assembly: Catalyst.Core.Lib.dll
    Syntax
    public sealed class DnsClient : IDns

    Constructors

    | Improve this Doc View Source

    DnsClient(ILookupClient)

    Declaration
    public DnsClient(ILookupClient client)
    Parameters
    Type Name Description
    ILookupClient client

    Methods

    | Improve this Doc View Source

    GetSeedNodesFromDns(IEnumerable<String>)

    Declaration
    public IEnumerable<PeerId> GetSeedNodesFromDns(IEnumerable<string> seedServers)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.String> seedServers
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<PeerId>
    | Improve this Doc View Source

    GetTxtRecordsAsync(IList<String>)

    Declaration
    public 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
    public Task<IDnsQueryResponse> GetTxtRecordsAsync(string hostname)
    Parameters
    Type Name Description
    System.String hostname
    Returns
    Type Description
    System.Threading.Tasks.Task<IDnsQueryResponse>

    Implements

    IDns
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network