Help for this page

Select Code to Download


  1. or download this
    use Net::DNS;
    my @mx = mx($domain);
    
  2. or download this
    use Net::DNS;
    my $resolvewr = Net::DNS::Resolver->new();
    my @mx = mx $resolver, $domain;