DOKK / manpages / debian 12 / all-knowing-dns / App::AllKnowingDNS::Util.3pm.en
App::AllKnowingDNS::Util(3pm) User Contributed Perl Documentation App::AllKnowingDNS::Util(3pm)

App::AllKnowingDNS::Util - utility functions

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

Parses a block of text as configfile.

Returns a corresponding App::AllKnowingDNS::Config object.

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
2022-11-21 perl v5.36.0