-
-
23 Sep 2013 20:26:10 UTC
- Distribution: AllKnowingDNS
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (4)
- Testers (401 / 0 / 5)
- Kwalitee
Bus factor: 1- 85.94% Coverage
- License: bsd
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (25.26KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Michael Stapelberg, C<< <michael at stapelberg.de> >>
- Dependencies
- Mouse
- MouseX::NativeTraits
- Net::DNS
- NetAddr::IP
- Privileges::Drop
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
App::AllKnowingDNS::Util - utility functions
DESCRIPTION
Note: User documentation is in all-knowing-dns(1).
FUNCTIONS
parse_config($lines)
Parses a block of text as configfile.
Returns a corresponding App::AllKnowingDNS::Config object.
netmask_to_ptrzone($netmask)
Converts the given netmask to a PTR zone.
Example:
my $ptrzone = netmask_to_ptrzone('2001:4d88:100e:ccc0::/64'); say $ptrzone; # 0.c.c.c.e.0.0.1.8.8.d.4.1.0.0.2.ip6.arpa
Module Install Instructions
To install App::AllKnowingDNS::Util, copy and paste the appropriate command in to your terminal.
cpanm App::AllKnowingDNS::Util
perl -MCPAN -e shell install App::AllKnowingDNS::Util
For more information on module installation, please visit the detailed CPAN module installation guide.