1 """Server global variables should be set here."""
5 ##### Editable Configuration Options
7 # the port to listen on.
9 # the interface address to bind to. "" means INADDR_ANY.
12 # the hostname to advertise in the banner.
13 server_hostname = socket.getfqdn()
15 # setting this here sets a default session response limit. 0
16 # means no response limit. This should be between min_limit and
17 # max_limit defined below.
19 # set this to the maximum value that the limit can be set to
21 # set this to the minimum value that the limit can be set to
22 # if this is zero, you are allowing clients to disable query limits.
25 # If this is true, some logging will be done to stdout.
28 #### END Editable Configuration Options
31 banner_string = "%%rwhois V-1.5 %s (python-rwhoisd %s)" % \
32 (server_hostname, version)