App::A...Config(3pm)
π NAME π
App::AllKnowingDNS::Config β it's a configuration object bestie, that's the whole vibe β¨
(also this page lives in the User Contributed Perl Documentation section, in case you were wondering where you wandered into π«Ά)
πΈ DESCRIPTION πΈ
Quick heads-up before we get into it: the actual user docs are in all-knowing-dns(1). This page is the object-level tea β
So like, this module defines an object that holds the parsed version of the AllKnowingDNS configuration file. That's it. That's the whole thing. It ate and left no crumbs π
β¨ FUNCTIONS β¨
π¦ zone_for_ptr($zone)
Okay so this one hands you back the appropriate zone for the given PTR query β or undef if there is, tragically, no appropriate zone π no zone for you, sorry babe.
Example, and yes we're keeping it exactly:
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)
Same energy, different query type β¨ This one returns the appropriate zone for the given AAAA query, or undef if there is no appropriate zone. Fr fr, if it's undef, it's undef π
Example, verbatim, no notes:
my $query = 'ipv6-foo.nutzer.raumzeitlabor.de';
my $zone = $config->zone_for_aaaa($query);
return 'NXDOMAIN' unless defined($zone);
...
π VERSION π
Version 1.7 π
π AUTHOR π
Michael Stapelberg, "<michael at stapelberg.de>" β the icon who made this happen π«Ά
π LICENSE AND COPYRIGHT π
Copyright 2012 Michael Stapelberg.
This program is free software; you can redistribute it and/or modify it under the terms of the BSD license. Slay, permissive licensing, we love to see it π
And that's the whole page bestie!! This was perl v5.40.1, dated 2025-04-15, and the page you just read is App::A...Config(3pm) π¦ stay config'd, stay iconic, periodt β¨
π¦ where this page comes from
- debian trixie: all-knowing-dns 1.7-7 Β· BSD-3-Clause
- ubuntu resolute: all-knowing-dns 1.7-7 Β· BSD-3-Clause
- ubuntu stonking: all-knowing-dns 1.7-7 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms