vit has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,
What is the meaning of exchange key in this module? For example in this code
use strict; use Data::Dumper; ######################################### die "INPUT: domain:\n" if (@ARGV != 1); my $domain = $ARGV[0]; ######################################### # Use your own resolver object. use Net::DNS; my $res = Net::DNS::Resolver->new; my @mx = mx($res, $domain); print Dumper (@mx);
for domain yahoo.com I am getting 3 records:
'exchange' => 'mta7.am0.yahoodns.net' 'exchange' => 'mta5.am0.yahoodns.net' 'exchange' => 'mta6.am0.yahoodns.net'


this is related to my question in http://www.perlmonks.org/?node_id=929571

Replies are listed 'Best First'.
Re: exchange in Net::DNS
by Anonymous Monk on Oct 10, 2011 at 14:35 UTC
    I imagine it is the same or similar meaning as described in the related RFC
      Sorry, I do not see any relation