1 hostip(8) -- Resolve a host name to an IP address
2 =================================================
6 `hostip` [<options>] host_name
10 **hostip** sends a DNS query to a resolver, and prints the IP
11 addresses for the given host name.
13 It can be useful in order to retrieve IP addresses before
14 dnscrypt-proxy(8) is started.
18 * `-6`, `--ipv6`: ask for AAAA records.
20 * `-h`, `--help`: show usage.
22 * `-r`, `--resolver-address=<ip>[:port]`: the resolver IP address
23 (default: 208.67.220.220, OpenDNS).
25 * `-V`, `--version`: show version number.
27 ## SIMPLE USAGE EXAMPLE
29 $ hostip www.example.com
31 ## ADVANCED USAGE EXAMPLE
33 $ hostip -6 -r 213.154.224.3 www.google.com
37 The `hostip` utility exits 0 on success, and > 0 if an error occurs.