fdnsmx(1) resolve an MX record of a hostname

SYNOPSIS

fdnsmx <hostname>

DESCRIPTION

fdnsmx will attempt to look up a single MX record for hostname. If one is found, it is printed to standard output and the program exits with return code 0. If not, nothing is printed and the program exits with return code 1.

AUTHOR

Ian Gulliver <[email protected]>