Net::DNS::RR::KX(3)

πŸ’Œ Net::DNS::RR::KX β€” DNS KX resource record

okay so bestie, welcome to the manual page for Net::DNS::RR::KX(3) β€” a User Contributed Perl Documentation page, no cap. It's the DNS KX resource record, and it's honestly kind of iconic once you get what it's doing. Let's get into it ✨


🌸 NAME

Net::DNS::RR::KX β€” the DNS KX resource record. that's it, that's the name, short and slay πŸ’…


πŸŽ€ SYNOPSIS

the whole vibe, in code:

use Net::DNS;
$rr = Net::DNS::RR->new('name KX preference exchange');

yes bestie, one line and you've summoned a whole KX record out of the void πŸ¦‹


✨ DESCRIPTION

it's a DNS Key Exchange Delegation (KX) record. literally what it says on the tin. key exchange delegation. delegation of key exchange. the record that says "hey, this other host over here is willing to do key exchange for me" πŸ”₯


πŸ’– METHODS

so here's the tea: the methods you get are those inherited from the base class, plus the type-specific methods this package defines itself. inherited + augmented, the classic glow-up 🌈

ngl, use of undocumented package features or direct access to internal data structures is discouraged β€” and it could result in program termination or other unpredictable behaviour. so like. don't go poking around in there, bestie 😭 πŸ™ˆ

🌟 preference

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

it's a 16 bit integer which specifies the preference given to this RR among others at the same owner. lower values are preferred β€” so like, smaller number = higher priority, which is giving "pick me, I'm the low-maintenance one" energy πŸ‘‘

get it with $rr->preference, set it with $rr->preference( $preference ). slay 🫢


πŸ¦‹ exchange

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

a domain name which specifies a host willing to act as a key exchange for the owner name. like, "here's the host that'll handle it for me" ✨

get it with $rr->exchange, set it with $rr->exchange( $exchange ). periodt πŸ’œ


Copyright (c)2009 Olaf Kolkman, NLnet Labs.

All rights reserved.

Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.

(gotta credit the authors, it's only right πŸŽ€)


πŸ“œ LICENSE

so the license is basically: 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
  • both copyright notice and this permission notice appear in supporting documentation, and
  • the name of the author is not used in advertising or publicity pertaining to distribution of the software without specific prior written permission. πŸ”₯

and then the all-caps bit, which is the legal equivalent of screaming into the void but in a respectful way:

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.

πŸ’€ yeah. that one. read it, know it, don't sue anybody.


🧚 SEE ALSO

go touch grass in these other docs, bestie:

iykyk 🌸


and that's the whole page!! this absolute gem is perl v5.42.0, dated 2026-09-02, and it lives at Net::DNS::RR::KX(3) β€” go forth and delegate those keys, bestie πŸ’…πŸ’–β­

πŸ“¦ where this page comes from