Paws::Route53::TestDNSAnswer - Arguments for method TestDNSAnswer on Paws::Route53
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.
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
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.
192.0.2.44
2001:db8:85a3::8a2e:370:7334
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.
edns0clientsubnetip
24
edns0clientsubnetmask
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
The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.
The name of the resource record set that you want Amazon Route 53 to simulate a query for.
The type of the resource record set.
Valid values are: "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
"SOA"
"A"
"TXT"
"NS"
"CNAME"
"MX"
"NAPTR"
"PTR"
"SRV"
"SPF"
"AAAA"
"CAA"
"DS"
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).
TestDnsAnswer
us-east-1
This class forms part of Paws, documenting arguments for method TestDNSAnswer in Paws::Route53
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.