dnsipq — look up the IP address(es) of a domain name
dnsipq {dn...}
dnsipq first feeds dn through name qualification.
It then looks up A resource records for the result in the Domain Name System and prints the corresponding IP address(es) on a single line.
If the qualified fqdn does not exist, dnsipq prints a blank line.
You can list several dns; dnsipq prints each result on a separate line.
Normally dnsipq exits 0. If it encounters a temporary problem that prevents it from determining the list of IP addresses, it prints an error message and exits 111.
dnsipq makes all DNS lookups using the locally configured DNS proxy server. See dnsqr(1) for how this server is found.