s/qmail:

NAME
SYNOPSIS
DESCRIPTION
EXIT CODES
SEE ALSO

NAME

dnsmxip

SYNOPSIS

dnsmxip fqdn

DESCRIPTION

dnsmxip takes the given fqdn as domain name and employs a MX lookup for fqdn while evaluating for the retrieved MX host(s) the respective AAAA and A address(es).

On output, for each MX host its provided weight and the respective AAAA and A addresses (in perenthesis) are displayed on separate lines.

EXIT CODES

dnsmxip returns 0 and eventually 1 in case of DNS query errors.

SEE ALSO

dnscname(8), dnsip(8), dnsfq(8), dnsptr(8), dnstxt(8).