#82 update docs

This commit is contained in:
Erik Ekman 2009-09-25 22:11:18 +00:00
parent 36a25ed642
commit b23f08773a
4 changed files with 6 additions and 3 deletions

View file

@ -28,6 +28,7 @@ CHANGES:
- Added support for CNAME/TXT/A/MX query types, fixes #75. - Added support for CNAME/TXT/A/MX query types, fixes #75.
Patch by Anne Bezemer, merge help by logix. Patch by Anne Bezemer, merge help by logix.
- Merged low-latency patch from Anne Bezemer, fixes #76. - Merged low-latency patch from Anne Bezemer, fixes #76.
- Resolve client nameserver argument (except on win32), #82.
2009-06-01: 0.5.2 "WifiFree" 2009-06-01: 0.5.2 "WifiFree"
- Fixed client segfault on OS X, #57 - Fixed client segfault on OS X, #57

View file

@ -220,7 +220,8 @@ in production environments.
.TP .TP
.B nameserver .B nameserver
The nameserver to use to relay the dns traffic. This can be any relaying The nameserver to use to relay the dns traffic. This can be any relaying
nameserver or the ip number of the server running iodined if reachable. nameserver or the server running iodined if reachable. This field can be
given as an IP address, or as a hostname (except on Win32 currently).
This argument is optional, and if not specified a nameserver will be read This argument is optional, and if not specified a nameserver will be read
from the from the
.I /etc/resolv.conf .I /etc/resolv.conf

View file

@ -149,7 +149,7 @@ client_set_nameserver(const char *cp, int port)
/* MinGW only supports getaddrinfo on WinXP and higher.. /* MinGW only supports getaddrinfo on WinXP and higher..
* so turn it off in windows for now * so turn it off in windows for now
* *
* try resolving if domain a domain is given */ * try resolving if a domain is given */
struct addrinfo *addrinfo; struct addrinfo *addrinfo;
struct addrinfo *res; struct addrinfo *res;
if (getaddrinfo(cp, NULL, NULL, &addrinfo) == 0) { if (getaddrinfo(cp, NULL, NULL, &addrinfo) == 0) {

View file

@ -89,7 +89,8 @@ help() {
fprintf(stderr, " -I max interval between requests (default 4 sec) to prevent server timeouts\n"); fprintf(stderr, " -I max interval between requests (default 4 sec) to prevent server timeouts\n");
fprintf(stderr, " -z context, to apply specified SELinux context after initialization\n"); fprintf(stderr, " -z context, to apply specified SELinux context after initialization\n");
fprintf(stderr, " -F pidfile to write pid to a file\n"); fprintf(stderr, " -F pidfile to write pid to a file\n");
fprintf(stderr, "nameserver is the IP number of the relaying nameserver, if absent /etc/resolv.conf is used\n"); fprintf(stderr, "nameserver is the IP number/hostname of the relaying nameserver\n "
"(hostname not supported on win32). if absent, /etc/resolv.conf is used\n");
fprintf(stderr, "topdomain is the FQDN that is delegated to the tunnel endpoint.\n"); fprintf(stderr, "topdomain is the FQDN that is delegated to the tunnel endpoint.\n");
exit(0); exit(0);