Installation and configuration of JWhois server

  1. Extract files from archive for example into /usr/local/jwhois
  2. Edit file: /usr/local/jwhois/etc/server.cfg
#database host
db.host=127.0.0.1 
 
#database port
db.port=3306 
 
#database name
db.name=eppdrs 
 
#Database username
db.user=eppdrs 
 
#Database password
db.pass=eppdrsdbpasswd 
 
#Server legal
server.legal=Server.com Whois server. Powered by EPP-DRS/.\r\n

Database settings should be the same as fro EPP-DRS. So, jwhois and EPP-DRS should point to the same database.

Execute the following command to start jwhois daemon

/usr/local/jwhois/jwhoisserver /usr/local/jwhois

For testing type the following command:

whois -h localhost testdomain.com

You should see something like:

NO OBJECT FOUND!
object: testdomain.com
type: domain

If you see such text it means that everything configured properly. If you did’t see such message it means that you’ve configured jwhois incorrectly. You could enable debug logging by setting server.loglevel.* in server.cfg . after this restart jwhois and check var/log/jwhoisserver.log

After this you could add /usr/local/jwhois/jwhoisserver /usr/local/jwhois to boot scripts to let jwhois automatically start during server boot.

On http://jwhoisserver.sourceforge.net/ you could find a lot of useful information.

 
jwhois.configuration.guide.txt · Last modified: 2010/03/30 10:19 by marat