dnsfq
dnsfq fqdn
fqdns takes the given fqdn for a host and employs a CNAME DNS lookup while finally retrieving the AAAA and A record following the chain of potential alias names. On output, the entire chain of nested DNS information is displayed together with the retrieved IP(v4|v6) addresses.
dnsfq returns 0 on success, 1 if DNS query errors did occure, and 111 in case of memory errors.
dnscname(8), dnsmxip(8), dnsptr(8), dnstxt(8).