Net::DNS::SEC(3)

πŸ’– NAME πŸ’–

okay bestie, this is Net::DNS::SEC(3) β€” a User Contributed Perl Documentation page for the DNSSEC extensions to Net::DNS. yes, we're doing crypto DNS stuff and it's lowkey iconic. πŸ¦‹

✨ SYNOPSIS ✨

        use Net::DNS::SEC;

🌸 DESCRIPTION 🌸

So Net::DNS::SEC is installed as an extension to an existing Net::DNS installation, providing packages to support DNSSEC as specified in RFC4033, RFC4034, RFC4035 and related documents. πŸ’…

It also provides support for SIG0, which is useful for dynamic updates. not me being useful for dynamic updates 😭

It implements cryptographic signature generation and verification functions using RSA, DSA, ECDSA, and Edwards curve algorithms. πŸ”₯

And the extended features are made available by replacing Net::DNS by Net::DNS::SEC in the use declaration. that's the whole slay: swap the name, get the extensions. ✨

🧰 UTILITY FUNCTIONS 🧰

These are the little helper functions, bestie. no cap, they're here to convert things and diff keys. 🫢

πŸ”’ algorithm

        $mnemonic = algorithm( 5 );
        $numeric  = algorithm( 'RSA-SHA1' );
        print "algorithm mnemonic\t", $mnemonic, "\n";
        print "algorithm number:\t",  $numeric,  "\n";

algorithm() provides conversions between an algorithm code number and the corresponding mnemonic. numeric in, mnemonic out; mnemonic in, numeric out. icon behavior. πŸ’–

🧬 digtype

        $mnemonic = digtype( 2 );
        $numeric  = digtype( 'SHA-256' );
        print "digest type mnemonic\t", $mnemonic, "\n";
        print "digest type number:\t",  $numeric,  "\n";

digtype() provides conversions between a digest type number and the corresponding mnemonic. same energy as above, but for digest types. πŸŽ€

πŸ”‘ key_difference

        @result = key_difference( \@a, \@b );

Fills @result with all keys in array @a that are not in array @b. it's giving "what's in @a but not @b" and honestly? useful. πŸ’€

  • Copyright (c)2014-2021 Dick Franks
  • Copyright (c)2001-2005 RIPE NCC. Author Olaf M. Kolkman
  • All Rights Reserved

πŸ“œ LICENSE πŸ“œ

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the original copyright notices appear in all copies and that both copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific prior written permission.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

bestie, that license text is the legal vibe check β€” don't lose the copyright notices, okay? 🫢

🌈 SEE ALSO 🌈

perl, Net::DNS, RFC4033, RFC4034, RFC4035, OpenSSL <http://www.openssl.org/docs>


okay that's the whole page, bestie πŸ’– this was Net::DNS::SEC(3) from perl v5.44.0, dated 2026-10-17. periodt βœ¨πŸ‘‘

πŸ“¦ where this page comes from