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.

See also


a similar tool that does not apply name qualification


a tool that looks up the domain name(es) of an IP address


dnsipq was originally part of Daniel J. Bernstein's djbdns toolset in 1999.


Original code and documentation by Daniel J. Bernstein. Documentation modernizations by Jonathan de Boyne Pollard.