The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::Route53::TestDNSAnswer - Arguments for method TestDNSAnswer on Paws::Route53

DESCRIPTION

This class represents the parameters used for calling the method TestDNSAnswer on the Amazon Route 53 service. Use the attributes of this class as arguments to method TestDNSAnswer.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to TestDNSAnswer.

SYNOPSIS

    my $route53 = Paws->service('Route53');
    my $TestDNSAnswerResponse = $route53->TestDNSAnswer(
      HostedZoneId          => 'MyResourceId',
      RecordName            => 'MyDNSName',
      RecordType            => 'SOA',
      EDNS0ClientSubnetIP   => 'MyIPAddress',     # OPTIONAL
      EDNS0ClientSubnetMask => 'MySubnetMask',    # OPTIONAL
      ResolverIP            => 'MyIPAddress',     # OPTIONAL
    );

    # Results:
    my $Nameserver   = $TestDNSAnswerResponse->Nameserver;
    my $Protocol     = $TestDNSAnswerResponse->Protocol;
    my $RecordData   = $TestDNSAnswerResponse->RecordData;
    my $RecordName   = $TestDNSAnswerResponse->RecordName;
    my $RecordType   = $TestDNSAnswerResponse->RecordType;
    my $ResponseCode = $TestDNSAnswerResponse->ResponseCode;

    # Returns a L<Paws::Route53::TestDNSAnswerResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/route53/TestDNSAnswer

ATTRIBUTES

EDNS0ClientSubnetIP => Str

If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a client in the applicable location, for example, 192.0.2.44 or 2001:db8:85a3::8a2e:370:7334.

EDNS0ClientSubnetMask => Str

If you specify an IP address for edns0clientsubnetip, you can optionally specify the number of bits of the IP address that you want the checking tool to include in the DNS query. For example, if you specify 192.0.2.44 for edns0clientsubnetip and 24 for edns0clientsubnetmask, the checking tool will simulate a request from 192.0.2.0/24. The default value is 24 bits for IPv4 addresses and 64 bits for IPv6 addresses.

The range of valid values depends on whether edns0clientsubnetip is an IPv4 or an IPv6 address:

  • IPv4: Specify a value between 0 and 32

  • IPv6: Specify a value between 0 and 128

REQUIRED HostedZoneId => Str

The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.

REQUIRED RecordName => Str

The name of the resource record set that you want Amazon Route 53 to simulate a query for.

REQUIRED RecordType => Str

The type of the resource record set.

Valid values are: "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"

ResolverIP => Str

If you want to simulate a request from a specific DNS resolver, specify the IP address for that resolver. If you omit this value, TestDnsAnswer uses the IP address of a DNS resolver in the AWS US East (N. Virginia) Region (us-east-1).

SEE ALSO

This class forms part of Paws, documenting arguments for method TestDNSAnswer in Paws::Route53

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues