项目作者: lanycrost

项目描述 :
WHOIS server builded in Golang and using Postgres as a DB.
高级语言: Go
项目地址: git://github.com/lanycrost/whois-server.git
创建时间: 2018-05-07T10:56:54Z
项目社区:https://github.com/lanycrost/whois-server

开源协议:Other

下载


Unix whois service

This service implements the WHOIS protocol as described in RFC 3912. The protocol allows to query the Registry about registrable objects.

This module translates incoming WHOIS requests into PostgreSQL query and then translates their results back to outgoing WHOIS responses.

Each response contains the link to the web whois service site which can be used to win full information about domain owners and administrative contacts.

The unix whois service allows to query even ENUM domains, although these responses do not contain the link to the web whois because the rules of information disclosure that apply to ENUM domains are different from those of common domains.

The service is built on a Golang.

The Database is built in PostgreSQL.

For Starting server you should be set some environment variables.

  1. - TLDNAME: Name of TLD (AM, COM, GE, etc.).
  2. - TLDWHOISADDR: TLD WHOIS Server address (whois.amnic.net, whois.markmonitor.com, etc.).
  3. - TLDS: Server top and second level TLD's list (.ge, .gov.ge, .com, etc.).
  4. - DBHOST: Host of postgres DB (localhost, etc.).
  5. - DBUNAME: Username of DB
  6. - DBPSWD: Password for access to DB
  7. - DBNAME: DB name where store the WHOIS data
  8. - DBSSL: DB SSL Mode (disable or enable) default value disable
  1. DBNAME=AMNIC TLDWHOISADDR=whois.amnic.net TLDS=.ge,.gov.ge,.school.ge DBHOST=localhost DBUNAME=root DBPSWD=root DBNAME=whois go run main.go
  1. Golang Version: 1.9.1
  2. Postgres Version: 10.1

Golang Packages:

Authors: