App::AllKnowingDNS::Config(3pm)

App::AllKnowingDNS::Config3pm

Configuration object

Overview

Note: User documentation is in all-knowing-dns(1).

This module defines an object which holds the parsed version of the AllKnowingDNS configuration file.

Functions

zone_for_ptr($zone)

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);
    ...

zone_for_aaaa($zone)

Returns the appropriate zone for the given AAAA query or undef if there is no appropriate zone.

Example:

    my $query = 'ipv6-foo.nutzer.raumzeitlabor.de';
    my $zone = $config->zone_for_aaaa($query);
    return 'NXDOMAIN' unless defined($zone);
    ...

Version

Version 1.7

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8–9
  3. 10
  4. 11
  5. 12
  6. 13

Author

Michael Stapelberg, "<michael at stapelberg.de>"

From all-knowing-dns 1.7-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.