Changes to update Tomato RAF.
[tomato.git] / release / src / router / dnscrypt / man / dnscrypt-proxy.8
blob988f5b14a34c4c267e83168c48ffb94c546ebcb8
1 .\" generated with Ronn/v0.7.3
2 .\" http://github.com/rtomayko/ronn/tree/0.7.3
4 .TH "DNSCRYPT\-PROXY" "8" "July 2012" "" ""
6 .SH "NAME"
7 \fBdnscrypt\-proxy\fR \- A DNSCrypt forwarder
9 .SH "SYNOPSIS"
10 \fBdnscrypt\-proxy\fR [\fIoptions\fR]
12 .SH "DESCRIPTION"
13 \fBdnscrypt\-proxy\fR accepts DNS requests, authenticates and encrypts them using dnscrypt and forwards them to a remote dnscrypt\-enabled resolver\.
16 Replies from the resolver are expected to be authenticated and encrypted or else they will be discarded\.
19 The proxy verifies the replies, decrypts them, and transparently forwards them to the local stub resolver\.
22 \fBdnscrypt\-proxy\fR listens to \fB127\.0\.0\.1\fR / port \fB53\fR by default\.
24 .SH "WARNING"
25 \fBdnscrypt\-proxy\fR is not a DNS cache\. Unless your operating system already provides a decent built\-in cache (and by default, most systems don\'t), clients shouldn\'t directly send requests to \fBdnscrypt\-proxy\fR\.
28 Intead, run a DNS cache like \fBUnbound\fR, and configure it to use \fBdnscrypt\-proxy\fR as a forwarder\. Both can safely run on the same machine as long as they use different IP addresses and/or different ports\.
30 .SH "OPTIONS"
32 .IP "\(bu" 4
33 \fB\-a\fR, \fB\-\-local\-address=<ip>[:port]\fR: what local IP the daemon will listen to, with an optional port\. The default port is 53\.
35 .IP "\(bu" 4
36 \fB\-d\fR, \fB\-\-daemonize\fR: detach from the current terminal and run the server in background\.
38 .IP "\(bu" 4
39 \fB\-e\fR, \fB\-\-edns\-payload\-size=<bytes>\fR: transparently add an OPT pseudo\-RR to outgoing queries in order to enable the EDNS0 extension mechanism\. The payload size is the size of the largest response we accept from the resolver before retrying over TCP\. This feature is enabled by default, with a payload size of 1280 bytes\. Any value below 512 disables it\.
41 .IP "\(bu" 4
42 \fB\-h\fR, \fB\-\-help\fR: show usage\.
44 .IP "\(bu" 4
45 \fB\-k\fR, \fB\-\-provider\-key=<key>\fR: specify the provider public key (see below)\.
47 .IP "\(bu" 4
48 \fB\-l\fR, \fB\-\-logfile=<file>\fR: log events to this file instead of the standard output\.
50 .IP "\(bu" 4
51 \fB\-n\fR, \fB\-\-max\-active\-requests=<count>\fR: set the maximum number of simultaneous active requests\. The default value is 250\.
53 .IP "\(bu" 4
54 \fB\-p\fR, \fB\-\-pidfile=<file>\fR: write the PID number to a file\.
56 .IP "\(bu" 4
57 \fB\-r\fR, \fB\-\-resolver\-address=<ip>[:port]\fR: a DNSCrypt\-capable resolver IP address with an optional port\. The default port is 443\.
59 .IP "\(bu" 4
60 \fB\-u\fR, \fB\-\-user=<user name>\fR: chroot(2) to this user\'s home directory and drop privileges\.
62 .IP "\(bu" 4
63 \fB\-N\fR, \fB\-\-provider\-name=<FQDN>\fR: the fully\-qualified name of the dnscrypt certificate provider\.
65 .IP "\(bu" 4
66 \fB\-T\fR, \fB\-\-tcp\-only\fR: always use TCP\. A connection made using UDP will get a truncated response, so that the (stub) resolver retries using TCP\.
68 .IP "\(bu" 4
69 \fB\-V\fR, \fB\-\-version\fR: show version number\.
71 .IP "" 0
74 A public key is 256\-bit long, and it has to be specified as a hexadecimal string, with optional columns\.
76 .SH "SIMPLE USAGE EXAMPLE"
78 .nf
80 $ dnscrypt\-proxy \-\-daemonize
82 .fi
84 .SH "ADVANCED USAGE EXAMPLE"
86 .nf
88 $ dnscrypt\-proxy \-\-provider\-key=B735:1140:206F:225D:3E2B:D822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE04:BFAB:CA43:FB79 \-\-provider\-name=2\.dnscrypt\-cert\.dnscrypt\.org\. \-\-resolver\-ip=208\.67\.220\.220:53 \-\-daemonize
90 .fi
92 .SH "SEE ALSO"
93 hostip(8)
95 .SH "COPYRIGHT"
96 dnscrypt\-proxy is Copyright (C) 2011\-2012 OpenDNS, Inc\. \fBhttp://www\.opendns\.com/\fR