Go to the first, previous, next, last section, table of contents.
The global options of JWHOIS configure some basic facilities
that are to be used for all hosts and queries made.
- @option{cachefile}
-
By default, the location of the cache file is
`/usr/local/var/jwhois.db', but this can be changed
at compile time. The option @option{cachefile} also
changes the location.
- @option{cacheexpire}
-
The default expire time for all cached objects it
7 days (168 hours). this can be changed with the
@option{cacheexpire} option. The value is the number
of hours that objects is considered to be current.
- @option{whois-servers-domain}
-
Whois-servers.net is a service offered by the
CenterGate Research Group. They register CNAMEs in
the
whois-servers.net
domain for every known
top-level domain, pointing to the appropriate whois
server.
When querying for `wildebeest.se' for example,
JWHOIS would look for an address se.whois-servers.net
and query the appropriate server based on that information.
If you wish to make whois-servers.net-style queries
using another domain name than whois-servers.net
, you
can change this option to the domain name you want.
- @option{browser-pathname}
-
- @option{browser-stdarg}
-
- @option{browser-postarg}
-
These options control the HTTP support on JWHOIS.
@option{browser-pathname} should be set to the path
and executable of the browser you wish to use to download
information from HTTP-gateways. This is normally a
program such as LYNX or CURL.
@option{browser-stdarg} sets the arguments to pass to
the browser in order to have the browser direct its
options to the standard output. JWHOIS catches
this information and displays it to the user.
@option{browser-postarg} sets the arguments used to
enable a LYNX-style processing of POST requests.
A LYNX-style processing means that the program,
when passed this option, should accept one variable
per line of input on standard input, ended with three
dashes.
Examples:
cachefile = "/var/lib/jwhois.db";
cacheexpire = 168;
browser-pathname = "/usr/bin/lynx";
browser-stdarg = "-dump";
browser-postarg = "-post_data";
Go to the first, previous, next, last section, table of contents.