Net::DN...NPGPKEY(3)

Okay bestie, welcome to the Net::DN...NPGPKEY(3) page from the User Contributed Perl Documentation β€” it’s the manual for Net::DNS::RR::OPENPGPKEY, and we’re doing DNS OPENPGPKEY records today πŸ’…βœ¨

πŸ’– NAME πŸ’–

Net::DNS::RR::OPENPGPKEY β€” DNS OPENPGPKEY resource record. That’s the name, no cap 🫢

πŸ› οΈ SYNOPSIS πŸ› οΈ

Load it up and make the record like this:

        use Net::DNS;
        $rr = Net::DNS::RR->new('name OPENPGPKEY key');

🌸 DESCRIPTION 🌸

This is the class for OpenPGP Key (OPENPGPKEY) resource records. So yeah, it’s the class that handles this record type, periodt πŸ’–

🧚 METHODS 🧚

The available methods are those inherited from the base class augmented by the type-specific methods defined in this package. Translation: base-class stuff still works, plus the special methods this package adds πŸ’…

⚠️ Real talk: use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or other unpredictable behaviour. Don’t poke the internals, bestie 😭

πŸ”‘ key

        $key = $rr->key;
        $rr->key( $key );

Base64 encoded representation of the OpenPGP public key material. That’s the key field, bestie πŸŽ€

🧬 keybin

        $keybin = $rr->keybin;
        $rr->keybin( $keybin );

OpenPGP public key material consisting of a single OpenPGP transferable public key in RFC4880 format. One transferable public key, RFC4880 format β€” got it πŸ¦‹

  • Copyright (c)2014 Dick Franks
  • All rights reserved.
  • Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.

βš–οΈ LICENSE βš–οΈ

Okay, legal time. I’m keeping this one word-for-word because license text is not a vibe to remix:

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.

πŸ‘€ SEE ALSO πŸ‘€

You already know we gotta shout out:

Your footer bestie says perl v5.42.0, dated 2026-09-02. Bye, love you, go read your DNS records πŸ’–πŸŒˆ

πŸ“¦ where this page comes from