dnscrypto-proxy: Update to release 1.3.0
[tomato.git] / release / src / router / dnscrypt / man / hostip.8
blob16a4ae3bf663abb8b2e31db52b3557f47c496349
1 .\" generated with Ronn/v0.7.3
2 .\" http://github.com/rtomayko/ronn/tree/0.7.3
4 .TH "HOSTIP" "8" "January 2013" "" ""
6 .SH "NAME"
7 \fBhostip\fR \- Resolve a host name to an IP address
9 .SH "SYNOPSIS"
10 \fBhostip\fR [\fIoptions\fR] host_name
12 .SH "DESCRIPTION"
13 \fBhostip\fR sends a DNS query to a resolver, and prints the IP addresses for the given host name\.
16 It can be useful in order to retrieve IP addresses before dnscrypt\-proxy(8) is started\.
18 .SH "OPTIONS"
20 .IP "\(bu" 4
21 \fB\-6\fR, \fB\-\-ipv6\fR: ask for AAAA records\.
23 .IP "\(bu" 4
24 \fB\-h\fR, \fB\-\-help\fR: show usage\.
26 .IP "\(bu" 4
27 \fB\-r\fR, \fB\-\-resolver\-address=<ip>[:port]\fR: the resolver IP address (default: 208\.67\.220\.220, OpenDNS)\.
29 .IP "\(bu" 4
30 \fB\-V\fR, \fB\-\-version\fR: show version number\.
32 .IP "" 0
34 .SH "SIMPLE USAGE EXAMPLE"
36 .nf
38 $ hostip www\.example\.com
40 .fi
42 .SH "ADVANCED USAGE EXAMPLE"
44 .nf
46 $ hostip \-6 \-r 213\.154\.224\.3 www\.google\.com
48 .fi
50 .SH "EXIT STATUS"
51 The \fBhostip\fR utility exits 0 on success, and > 0 if an error occurs\.
53 .SH "SEE ALSO"
54 dnscrypt\-proxy(8)