OnWorks favicon

fdnsmxalist - Online in the Cloud

Run fdnsmxalist in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command fdnsmxalist that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



fdnsmxalist - resolve a list of MX records and their corresponding A records for hostname


fdnsmxalist [-x] <hostname>


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

Protocol (Priority) hostname:port

The program then looks up lists of A and AAAA records for each MX record, and prints them
to standard output, one IP per line. Lines are printed to standard output starting with
"ERROR: " if any MX records have no corresponding A or AAAA records, are CNAMEs (an RFC
violation), or have A or AAAA records which point to non-routable IP addresses.

If the -x switch is passed on the command line, the program outputs machine-parsable XML
instead of the human-readable tree.

Exit codes for the program are:

0 - Everything looks fine
1 - An MX has a non-routable IP
2 - An MX doesn't exist
3 - An MX is a CNAME
4 - An MX is an IP address
100 - Invalid syntax
103 - DNS timeout or host does not have MX records

Use fdnsmxalist online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 2
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 3
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • 5
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    With Hugin you can assemble a mosaic of
    photographs into a complete immersive
    panorama, stitch any series of
    overlapping pictures and much more..
    Audience: Sci...
    Download Hugin
  • 7
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands