AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Route53::Types::TestDNSAnswerResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A complex type that contains the response to a TestDNSAnswer request.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#nameserverString

The Amazon Route 53 name server used to respond to the request.

Returns:

  • (String)

    The Amazon Route 53 name server used to respond to the request.

#protocolString

The protocol that Amazon Route 53 used to respond to the request, either UDP or TCP.

Returns:

  • (String)

    The protocol that Amazon Route 53 used to respond to the request, either UDP or TCP.

#record_dataArray<String>

A list that contains values that Amazon Route 53 returned for this resource record set.

Returns:

  • (Array<String>)

    A list that contains values that Amazon Route 53 returned for this resource record set.

#record_nameString

The name of the resource record set that you submitted a request for.

Returns:

  • (String)

    The name of the resource record set that you submitted a request for.

#record_typeString

The type of the resource record set that you submitted a request for.

Possible values:

  • SOA
  • A
  • TXT
  • NS
  • CNAME
  • MX
  • NAPTR
  • PTR
  • SRV
  • SPF
  • AAAA
  • CAA

Returns:

  • (String)

    The type of the resource record set that you submitted a request for.

#response_codeString

A code that indicates whether the request is valid or not. The most common response code is NOERROR, meaning that the request is valid. If the response is not valid, Amazon Route 53 returns a response code that describes the error. For a list of possible response codes, see DNS RCODES on the IANA website.

Returns:

  • (String)

    A code that indicates whether the request is valid or not.