"Fossies" - the Fresh Open Source Software Archive

Member "whois-5.5.2/whois.conf" (8 Aug 2012, 2892 Bytes) of package /linux/privat/old/whois-5.5.2.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #
    2 # whois.conf file for BW Whois 4.0 and above. 
    3 # http://whois.bw.org/
    4 #
    5 # version of 27 January 2003
    6 #
    7 # lines that begin with '#' are ignored. 
    8 # format of the file is: 
    9 #
   10 # option  value
   11 #
   12 # anything after '#' to the end of the line is considered a comment and 
   13 # is ignored. 
   14 #
   15 # for logical values, "1" or "true" (without the quotes) are considered true, 
   16 # anything else is considered false.
   17 #
   18 
   19 ### flags and parameters
   20 # stripdisclaimer false
   21 # tld_conf      /etc/whois/tld.conf
   22 # sd_conf       /etc/whois/sd.conf
   23 # filters_conf  /etc/whois/filters.conf
   24 # timeout       60
   25 # default_host  whois.crsnic.net
   26 
   27 ### for CGI mode
   28 # htmlfile      /path/to/whois.html            # optional default HTML file
   29 # htmlfirst     /path/to/whois-first.html      # optional "first" HTML
   30 # htmlnotfound  /path/to/whois-notfound.html   # optional "not found" HTML
   31 # htmlfound     /path/to/whois-found.html      # optional "found" HTML
   32 # error_403     /path/to/whois-error-403.html  # optional Forbidden HTML
   33 # error_408     /path/to/whois-error-408.html  # optional Expired Session HTML
   34 
   35 ### logging
   36 # logfile       /path/to/logfile             # optional log file
   37 # log_level     1                            # higher number = more events logged
   38 
   39 ### MySQL database
   40 # database      mysql
   41 # connect       whois:localhost:3306:whois:pass  # database:host:port:user:pass
   42 
   43 ### PostgreSQL database
   44 # database      pgsql
   45 # connect       whois:localhost:5432:whois:pass  # database:host:port:user:pass
   46 
   47 ### SQLite 3 database
   48 # database      sqlite3
   49 # connect       /path/to/whois.db  # database file path
   50 
   51 ### caching
   52 # cache_table   cache     # for result cache
   53 # cache_expire  604800    # (seconds) defaults to one week
   54 
   55 ### security controls
   56 # control_table control   # for security controls
   57 # cookie_name   BW_WHOIS  # enable cookie controls
   58 # cookie_expire 3600      # (seconds) defaults to one hour 
   59 # ip_control    30        # number of hits to allow from one IP address
   60 # ip_expire     86400     # (seconds) defaults to one day 
   61 
   62 ### allow referers from other domains
   63 # allow_referer www.other-domain.com:other-domain.com
   64 
   65 # direct_link is to allow links to a whois record without a cookie or a 
   66 # referer. The number is how many seconds apart to allow links from 
   67 # the same IP address. This requires control_table and ip_control.
   68 #
   69 # direct_link   60        # allow direct links (with no cookie or referer)
   70 
   71 # outgoing_ip is an optional array of IP addresses that can be used for 
   72 # the outgoing connection. BW Whois will select an address from this list
   73 # at random and bind to that for your outgoing connection. This will help 
   74 # with some whois servers that block based on number of connections from 
   75 # a given IP address. These are IP addresses ON YOUR SYSTEM. You must 
   76 # have these IP addresses configured in order for them to work. 
   77 # outgoing_ip   192.168.0.20:192.168.0.120:192.168.0.121
   78