Changes to update Tomato RAF.
[tomato.git] / release / src / router / dnscrypt / man / hostip.8.markdown
blob0436d810745e97f6e3534a1f7f1e9678a0895847
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>`: the resolver IP address (default:
23 208.67.222.222, 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)
43 ## COPYRIGHT
45 hostip is Copyright (C) 2012 OpenDNS, Inc.
46 `http://www.opendns.com/`