App::Netdisco::Util::DNS
A set of helper subroutines to support parts of the Netdisco application.
There are no default exports, however the :all tag will export all subroutines.
:all
Given an IP address (either IPv4 or IPv6), return the canonical hostname.
Returns undef if no PTR record exists for the IP.
undef
Given a host name will return the first IPv4 address.
Returns undef if no A record exists for the name.
To install App::Netdisco, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Netdisco
CPAN shell
perl -MCPAN -e shell install App::Netdisco
For more information on module installation, please visit the detailed CPAN module installation guide.