dnsip
dnsip fqdn .
dnsip does a DNS AAAA and A lookup and displays the retrieved IPv6 and IPv4 addresses on one line for the given fqdn.
dnsip always returns 0 except of 111 in case of memory errors.
dnscname(8), dnsmxip(8), dnsfq(8), dnsptr(8), dnstxt(8).