EPFL::Net::ipv6Test - Website IPv6 accessibility validator API
Version 1.00
Check IPv6 connectivity from a Website with ipv6-test.com
use EPFL::Net::ipv6Test qw/getWebAAAA getWebServer getWebDns/; my $aaaa = getWebAAAA('google.com'); print $aaaa->{dns_aaaa}; # => '2400:cb00:2048:1::6814:e52a' my $aaaa = getWebServer('google.com'); print $aaaa->{dns_aaaa}; # => '2400:cb00:2048:1::6814:e52a' print $aaaa->{server}; # => 'gws' my $dns = getWebDns('google.com'); print $dns->{dns_ok}; # => 1 print @{$dns->{dns_servers}}; # => 'ns3.google.comns2.google.comns1.google.comns4.google.com'
Via the command line epfl-net-ipv6-test
A simple module to validate IPv6 accessibility of a Website
Return the AAAA DNS record.
Example:
{'dns_aaaa' => '2400:cb00:2048:1::6814:e52a'}
or
{'dns_aaaa' => 'null', 'error' => 'no AAAA record'}
Return the AAAA DNS record, the server and the title.
{ 'dns_aaaa' => '2400:cb00:2048:1::6814:e42a', 'server' => 'cloudflare', 'title' => 'EPFL news' }
Return DNS servers.
{'dns_ok' => 1, 'dns_servers' => ['stisun1.epfl.ch', 'stisun2.epfl.ch']}
{'dns_ok' => 0, 'dns_servers' => []}
Return the response from the API.
Return a LWP::UserAgent. LWP::UserAgent objects can be used to dispatch web requests.
Dispatch a GET request on the given $url The return value is a response object. See HTTP::Response for a description of the interface it provides.
Return the correct url to call for the API.
William Belle, <william.belle at gmail.com>
<william.belle at gmail.com>
Please report any bugs or feature requests here https://github.com/epfl-idevelop/epfl-net-ipv6Test/issues. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc EPFL::Net::ipv6Test
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/EPFL-Net-ipv6Test
CPAN Ratings
http://cpanratings.perl.org/d/EPFL-Net-ipv6Test
Search CPAN
http://search.cpan.org/dist/EPFL-Net-ipv6Test/
Copyright ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, VPSI, 2018.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
L<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
To install EPFL::Net::ipv6Test, copy and paste the appropriate command in to your terminal.
cpanm
cpanm EPFL::Net::ipv6Test
CPAN shell
perl -MCPAN -e shell install EPFL::Net::ipv6Test
For more information on module installation, please visit the detailed CPAN module installation guide.