Net::DNS::RR::MX(3)
π NAME π
hey bestie!! welcome to the Net::DNS::RR::MX(3) page from the User Contributed Perl Documentation section β yep, manual name folded right in near the top like a little bow π. This one is all about Net::DNS::RR::MX β DNS MX resource record, periodt.
πΈ SYNOPSIS πΈ
okay so you summon it like this, no cap:
use Net::DNS;
$rr = Net::DNS::RR->new('name MX preference exchange');
π¦ DESCRIPTION π¦
Itβs the DNS Mail Exchanger (MX) resource record. Thatβs the whole description, and honestly? Short, iconic, done π .
π METHODS π
The available methods are those inherited from the base class augmented by the type-specific methods defined in this package. Thatβs the setup β¨.
Use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or other unpredictable behaviour. So likeβ¦ donβt poke the internals, bestie π.
preference
$preference = $rr->preference;
$rr->preference( $preference );
A 16 bit integer which specifies the preference given to this RR among others at the same owner. Lower values are preferred β so lower is giving more main character energy here π.
exchange
$exchange = $rr->exchange;
$rr->exchange( $exchange );
A domain name which specifies a host willing to act as a mail exchange for the owner name. Slay, thatβs the whole vibe π.
π COPYRIGHT π
Copyright (c)1997 Michael Fuhr.Portions Copyright (c)2005 Olaf Kolkman, NLnet Labs.All rights reserved.Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
π LICENSE π
okay legal bestie moment, but every word matters, so hereβs the whole thing untouched, because we do not mess with licenses, periodt:
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 π₯
go check these out, bestie:
perl Net::DNS Net::DNS::RR RFC1035(3.3.9)<https://iana.org/go/rfc1035#section-3.3.9>
xoxo, your favorite manpage fairy π§ β brought to you by perl v5.42.0, dated 2026-09-02, and filed under Net::DNS::RR::MX(3) π
π¦ 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