Skip to content

epfl-si/epfl-net-ipv6Test

Repository files navigation

EPFL-Net-ipv6Test

Build Status Apache License 2.0 CPAN Version

Website IPv6 accessibility validator.

Install

Via CPAN with :

cpan install EPFL::Net::ipv6Test

Usage

Command Line

epfl-net-ipv6-test --help

Usage:
  epfl-net-ipv6-test --help
  epfl-net-ipv6-test --domain=actu.epfl.ch

Module

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'

Screenshot

command line screenshot

Contributing

Contributions are always welcome.

See Contributing.

Developer

License

Apache License 2.0

(c) ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, VPSI, 2018.

See the LICENSE file for more details.