ReturnCode

public extension ReturnCode

Basic DNS (RFC1035)

  • No error condition.

    Declaration

    Swift

    static let noError: ReturnCode
  • Format error - he name server was unable to interpret the query.

    Declaration

    Swift

    static let formatError: ReturnCode
  • Server failure - The name server was unable to process this query due to a problem with the name server.

    Declaration

    Swift

    static let serverFailure: ReturnCode
  • Name Error - Meaningful only for responses from an authoritative name server, this code signifies that the domain name referenced in the query does not exist.

    Declaration

    Swift

    static let nonExistentDomain: ReturnCode
  • Not Implemented - The name server does not support the requested kind of query.

    Declaration

    Swift

    static let notImplemented: ReturnCode
  • Refused - The name server refuses to perform the specified operation for policy reasons. For example, a name server may not wish to provide the information to the particular requester, or a name server may not wish to perform a particular operation (e.g., zone transfer) for particular data.

    Declaration

    Swift

    static let queryRefused: ReturnCode

DNS UPDATE (RFC2136)