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

# fdnsmx(1)

resolve an MX record of a hostname

## NAME

fdnsmx - 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 \<ian@penguinhosting.net\>

## SEE ALSO

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