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::RR";
10
12 Class for DNS Mail Exchanger (MX) resource records.
13
15 preference
16 print "preference = ", $rr->preference, "\n";
17
18 Returns the preference for this mail exchange.
19
20 exchange
21 print "exchange = ", $rr->exchange, "\n";
22
23 Returns name of this mail exchange.
24
26 Copyright (c) 1997-2002 Michael Fuhr.
27
28 Portions Copyright (c) 2002-2004 Chris Reinhardt. Portions Copyright
29 (c) 2005 Olaf Kolkman NLnet Labs.
30
31 All rights reserved. This program is free software; you may
32 redistribute it and/or modify it under the same terms as Perl itself.
33
35 perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet,
36 Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 1035 Section
37 3.3.9
38
39
40
41perl v5.12.0 2009-01-26 Net::DNS::RR::MX(3)