dnscrypto-proxy: Update to release 1.3.0
[tomato.git] / release / src / router / dnscrypt / man / hostip.8.markdown
blobb90587eef5b96850a748e4d549ad0fcad9f4fdd1
1 hostip(8) -- Resolve a host name to an IP address
2 =================================================
4 ## SYNOPSIS
6 `hostip` [<options>] host_name
8 ## DESCRIPTION
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.
16 ## OPTIONS
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
35 ## EXIT STATUS
37 The `hostip` utility exits 0 on success, and > 0 if an error occurs.
39 ## SEE ALSO
41 dnscrypt-proxy(8)