1Net::DNS::RR::MX(3) User Contributed Perl Documentation Net::DNS::RR::MX(3)
2
3
4
6 Net::DNS::RR::MX - DNS MX resource record
7
9 use Net::DNS;
10 $rr = new Net::DNS::RR('name MX preference exchange');
11
13 DNS Mail Exchanger (MX) resource record
14
16 The available methods are those inherited from the base class augmented
17 by the type-specific methods defined in this package.
18
19 Use of undocumented package features or direct access to internal data
20 structures is discouraged and could result in program termination or
21 other unpredictable behaviour.
22
23 preference
24 $preference = $rr->preference;
25 $rr->preference( $preference );
26
27 A 16 bit integer which specifies the preference given to this RR among
28 others at the same owner. Lower values are preferred.
29
30 exchange
31 $exchange = $rr->exchange;
32 $rr->exchange( $exchange );
33
34 A domain name which specifies a host willing to act as a mail exchange
35 for the owner name.
36
38 Copyright (c)1997 Michael Fuhr.
39
40 Portions Copyright (c)2005 Olaf Kolkman, NLnet Labs.
41
42 All rights reserved.
43
44 Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
45
47 Permission to use, copy, modify, and distribute this software and its
48 documentation for any purpose and without fee is hereby granted,
49 provided that the above copyright notice appear in all copies and that
50 both that copyright notice and this permission notice appear in
51 supporting documentation, and that the name of the author not be used
52 in advertising or publicity pertaining to distribution of the software
53 without specific prior written permission.
54
55 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
56 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
57 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
58 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
59 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
60 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
61 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
62
64 perl, Net::DNS, Net::DNS::RR, RFC1035 Section 3.3.9
65
66
67
68perl v5.30.1 2020-01-30 Net::DNS::RR::MX(3)