NAME

Google::DNS - resolve domain name by Google Public DNS

SYNOPSIS

use Google::DNS;

my $resolver = Google::DNS->new;

# all response
my $hash = $resolver->resolve('google.com');

# only data in Answer section
my $data = $resolver->data('google.com');

DESCRIPTION

Google::DNS is the DNS resolver by Google Public DNS.

NOTE that Google says Public DNS Query UI is Beta, so this module is Beta also.

METHODS

new(%options)

resolve($domain)

data($domain)

CLI

see digle

REPOSITORY

Google::DNS is hosted on github: http://github.com/bayashi/Google-DNS

I appreciate any feedback :D

AUTHOR

Dai Okabayashi <bayashi@cpan.org>

SEE ALSO

digle

LICENSE

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.