Show / Hide Table of Contents

    Interface IDns

    Namespace: Catalyst.Abstractions.Network
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface IDns

    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>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network