Net::DNS::RR::PX(3)
π Net::DNS::RR::PX β DNS PX resource record
Okay bestie, so this is the Net::DNS::RR::PX page β a User Contributed Perl Documentation moment, brought to you by the Perl fam π«Ά. Pull up a chair, we're talking about the PX record type and it's honestly more fun than it sounds.
β¨ SYNOPSIS β¨
use Net::DNS;
$rr = Net::DNS::RR->new('name PX preference map822 mapx400');
That's it, that's the whole vibe. Two lines and you're living your best DNS life π .
π¦ DESCRIPTION π¦
This is the class for DNS X.400 Mail Mapping Information (PX) resource records. Think of it as the little record that knows how to translate between two different mail worlds. Iconic behavior, no cap β¨
πΈ METHODS πΈ
So here's the tea π: the methods you get are the ones inherited from the base class, plus the type-specific methods this package defines. Best of both worlds, honestly.
β οΈ Quick warning, bestie: using undocumented package features or reaching directly into internal data structures is discouraged β and by "discouraged" I mean it could straight-up terminate your program or cause other unpredictable behaviour ππ. Don't do it. Just don't. Protect your peace.
π preference
$preference = $rr->preference;
$rr->preference( $preference );
A 16 bit integer that says how much this RR is preferred over the other RRs sitting at the same owner π. Lower values are preferred β yes, lowercase numbers are the main characters here, that's just how it works.
π§ map822
$map822 = $rr->map822;
$rr->map822( $map822 );
A domain name element holding <rfc822-domain> β aka the RFC822 part of the MIXER Conformant Global Address Mapping π¦. She's the vibe translator on the RFC822 side.
π mapx400
$mapx400 = $rr->mapx400;
$rr->mapx400( $mapx400 );
A <domain-name> element containing the value of <x400-in-domain-syntax>, which is derived from the X.400 part of the MIXER Conformant Global Address Mapping π. Same energy, X.400 edition.
π₯ COPYRIGHT π₯
Copyright (c)1997 Michael Fuhr.
All rights reserved.
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
π LICENSE π
So here's the legal rundown, and honestly it's giving generous β¨:
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 the copyright notice and this permission notice appear in supporting documentation, and that the name of the author is not used in advertising or publicity pertaining to distribution of the software without specific prior written permission π.
β οΈ And now the all-caps part, because it matters: 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. π Take that seriously, bestie.
π SEE ALSO π
perlNet::DNSNet::DNS::RRRFC2163β <https://iana.org/go/rfc2163>
Okay that's the whole page, you ate that πβ¨ Go forth and PX responsibly. This little love letter was brought to you by perl v5.42.0, dated 2026-09-02 β and this copy of the Net::DNS::RR::PX(3) page says byeee πππ«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-Net-DNS 1.570.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms