App::AllKnowingDNS::Config - configuration object
Note: User documentation is in all-knowing-dns(1).
This module defines an object which holds the parsed version of the AllKnowingDNS configuration file.
Returns the appropriate zone for the given PTR query or undef if there is no appropriate zone.
Example:
my $query = '7.c.e.2.3.4.e.f.f.f.b.d.9.1.2.0.' . '0.c.c.c.e.0.0.1.8.8.d.4.1.0.0.2.ip6.arpa'; my $zone = $config->zone_for_ptr($query); return 'NXDOMAIN' unless defined($zone); ...
Returns the appropriate zone for the given AAAA query or undef if there is no appropriate zone.
my $query = 'ipv6-foo.nutzer.raumzeitlabor.de'; my $zone = $config->zone_for_aaaa($query); return 'NXDOMAIN' unless defined($zone); ...
Version 1.7
Michael Stapelberg, <michael at stapelberg.de>
<michael at stapelberg.de>
Copyright 2012 Michael Stapelberg.
This program is free software; you can redistribute it and/or modify it under the terms of the BSD license.
To install App::AllKnowingDNS::Util, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::AllKnowingDNS::Util
CPAN shell
perl -MCPAN -e shell install App::AllKnowingDNS::Util
For more information on module installation, please visit the detailed CPAN module installation guide.