---
name: "fdnsmxlist"
section: "1"
platform: "linux"
package: "firedns"
version: "0.9.12+dfsg-3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/fdnsmxlist"
---

# fdnsmxlist(1)

resolve a list of MX records for hostname

## NAME

fdnsmxlist - resolve a list of MX records for hostname

## SYNOPSIS

**fdnsmxlist** *\<hostname\>*

## DESCRIPTION

fdnsmxlist will attempt to look up a list of MX records for *hostname*. If any are found, they are printed to standard output seperated by newlines in the format:

 *Protocol* (*Priority*) *hostname*:*port*

and the program exits with return code 0.  If not, nothing is printed and the program exits with return code 1.

## AUTHOR

Ian Gulliver \<ian@penguinhosting.net\>

## SEE ALSO

[**libfiredns**(3)](/libfiredns/3.md)
