lglass
  • Introduction
  • Tools
    • lglass-bird – Routing table export for BIRD
    • lglass-dot – Routing and registry visualisation
    • lglass-regtool – Registry maintenance tool
    • lglass-roagen – ROA table generator
    • lglass-rpsl – RPSL object format parser
    • lglass-web – Simple registry and routing web interface
    • lglass-whoisd – Full-featured whois server
    • lglass-zonegen – Zonefile generator
  • API Documentation
    • lglass.bird
    • lglass.database.base
    • lglass.database.cache
    • lglass.database.cidr
    • lglass.database.file
    • lglass.database.lmdb
    • lglass.database.mongodb
    • lglass.database.redis
    • lglass.database.schema
    • lglass.database.sqlite3
    • lglass.database.whois
    • lglass.dns
    • lglass.generators.dns
    • lglass.generators.dot
    • lglass.generators.roa
    • lglass.route
    • lglass.rpsl
    • lglass.whoisd
  • Registry
    • Objects
    • Databases
 
lglass
  • Docs »
  • lglass-whoisd – Full-featured whois server
  • Edit on GitHub

lglass-whoisd – Full-featured whois server¶

The lglass-whoisd tool starts the full-featured lglass whois server. The configuration file is specified by the –config command line argument. By default, the whois server will listen on both IPv4 and IPv6 on port 4343.

usage: lglass-whoisd [-h] [--config CONFIG]

Simple whois server

optional arguments:
  -h, --help            show this help message and exit
  --config CONFIG, -c CONFIG
                        Path to configuration file

Configuration¶

The configuration file format is JSON and allows configuration of the database chain, the listen parameters, the custom messages and the process management.

Option Meaning
listen.host IP address for listening socket (Default: ::)
listen.port TCP port for listening socket (Default: 4343)
listen.protocol Protocol for listening socket (4 or 6, by default 6)
database

Array of database URLs to initialize database chain

Default chain:

[
  "whois+lglass.database.file+file:.",
  "whois+lglass.database.cidr+cidr:",
  "whois+lglass.database.schema+schema:",
  "whois+lglass.database.cache+cached:"
]
database.types Array of object types in database (Default: undefined)
messages.preamble String preamble for whois responses
messages.help String help message for help requests
process.user User to change after initialization
process.group Group to change after initialization
process.pidfile Path to PID file
Next Previous

© Copyright 2013, Fritz Grimpen.

Sphinx theme provided by Read the Docs