DNS-Robot
view release on metacpan or search on metacpan
lib/DNS/Robot.pm view on Meta::CPAN
=item * C<base_url> â API base URL (default: C<https://dnsrobot.net/api>)
=item * C<user_agent> â User-Agent header (default: C<DNS-Robot-Perl/$VERSION>)
=item * C<timeout> â HTTP timeout in seconds (default: 30)
=back
=head1 METHODS
All methods return a hashref of the decoded JSON response. On HTTP errors,
they C<die> with a descriptive message.
=head2 dns_lookup
my $result = $dr->dns_lookup(
domain => 'example.com', # required
record_type => 'A', # optional, default: A
dns_server => '8.8.8.8', # optional, default: 8.8.8.8
);
( run in 1.796 second using v1.01-cache-2.11-cpan-bbb979687b5 )