• DnsClient
  • Readme
  • Api Docs
  • MichaCo.net
This site uses "cookies" - small data files stored locally on your computer - to save information about your preferences when using this site. Learn More.

    Show / Hide Table of Contents

    Interface IDnsQueryResponse

    Contract defining the result of a query performed by IDnsQuery.

    Namespace: DnsClient
    Assembly: DnsClient.dll
    Syntax
    public interface IDnsQueryResponse

    Properties

    | Improve this Doc View Source

    Additionals

    Gets a list of additional records.

    Declaration
    IReadOnlyList<DnsResourceRecord> Additionals { get; }
    Property Value
    Type Description
    IReadOnlyList<DnsResourceRecord>
    | Improve this Doc View Source

    AllRecords

    Gets a list of all answers, addtional and authority records.

    Declaration
    IEnumerable<DnsResourceRecord> AllRecords { get; }
    Property Value
    Type Description
    IEnumerable<DnsResourceRecord>
    | Improve this Doc View Source

    Answers

    Gets a list of answer records.

    Declaration
    IReadOnlyList<DnsResourceRecord> Answers { get; }
    Property Value
    Type Description
    IReadOnlyList<DnsResourceRecord>
    | Improve this Doc View Source

    AuditTrail

    Gets the audit trail if EnableAuditTrail. as set to true, null otherwise.

    Declaration
    string AuditTrail { get; }
    Property Value
    Type Description
    String

    The audit trail.

    | Improve this Doc View Source

    Authorities

    Gets a list of authority records.

    Declaration
    IReadOnlyList<DnsResourceRecord> Authorities { get; }
    Property Value
    Type Description
    IReadOnlyList<DnsResourceRecord>
    | Improve this Doc View Source

    ErrorMessage

    Returns a string value representing the error response code in case an error occured, otherwise 'NoError'.

    Declaration
    string ErrorMessage { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    HasError

    A flag indicating if the header contains a response codde other than NoError.

    Declaration
    bool HasError { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Header

    Gets the header of the response.

    Declaration
    DnsResponseHeader Header { get; }
    Property Value
    Type Description
    DnsResponseHeader
    | Improve this Doc View Source

    MessageSize

    Gets the size of the message.

    Declaration
    int MessageSize { get; }
    Property Value
    Type Description
    Int32

    The size of the message.

    | Improve this Doc View Source

    NameServer

    Gets the name server which responded with this result.

    Declaration
    NameServer NameServer { get; }
    Property Value
    Type Description
    NameServer

    The name server.

    | Improve this Doc View Source

    Questions

    Gets the list of questions.

    Declaration
    IReadOnlyList<DnsQuestion> Questions { get; }
    Property Value
    Type Description
    IReadOnlyList<DnsQuestion>
    | Improve this Doc View Source

    Settings

    Gets the settings used to produce this response.

    Declaration
    DnsQuerySettings Settings { get; }
    Property Value
    Type Description
    DnsQuerySettings

    See Also

    IDnsQuery
    ILookupClient
    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net