README 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. This is jwhois, an improved Whois client capable of selecting Whois server
  2. to query based on a flexible configuration file using either regular
  3. expressions or CIDR blocks.
  4. Please send bug reports, suggestions, improvements, rewrites and other
  5. material to bug-jwhois@gnu.org.
  6. 1. Configuration file
  7. 2. ./configure
  8. 2.1 Default Host
  9. 2.2 Cache Functionality
  10. 3. IPv6 support
  11. 4. What to do when things go wrong
  12. 5. Obtaining jwhois
  13. 6. What to do after you've gotten things to work
  14. 7. The history of jwhois
  15. 1. Configuration File
  16. =====================
  17. In the example/ subdirectory in the distribution archive is an example
  18. configuration file for jwhois. This file should contain all of the known
  19. public Whois server records. Any changes to either host listed in that
  20. example configuration file should be reported to the maintainer so that
  21. the change can be included in future releases.
  22. The configuration file should reside in the /usr/local/etc directory,
  23. or the directory that you specified using the --sysconfdir switch to the
  24. configure script.
  25. 2. ./configure
  26. 2.1. Default Host
  27. =================
  28. If jwhois can't find any configuration file, the queries will be
  29. directed to a default host. The default value is `whois.internic.net',
  30. but this can be changed by using the --enable-default-host switch to
  31. the configure script.
  32. 2.2. Cache Functionality
  33. ========================
  34. This version of jwhois includes a functionality that can cache Whois
  35. responses. The cached information is stored in a local database which can
  36. be read and written to by jwhois. The default location for this file
  37. is /usr/local/var, but this can be changed by adding another directory
  38. with --localstatedir=<dir> when running the configure script.
  39. The location of the database can also be set in the configuration file.
  40. For this to work, jwhois has to be able to read and write to the cache file.
  41. If you're on a single-user machine, this can be done easily by creating a
  42. cache file and changing the owner of it to the user you're running as. If you
  43. have several users, you would normally allow a specific group to write to the
  44. cache file and setgid the jwhois binary to this group.
  45. If you don't know how to do this, you can ask someone in your area with
  46. more UNIX experience. Chances are, if you don't use jwhois actively, there
  47. is little point in configuring a cache since it would not be used very much
  48. anyway.
  49. 3. IPv6 Support
  50. ===============
  51. jwhois has support for IPv6 using the inet6-apps package from The
  52. Inner Net. The package is delivered with the libinet6.a library which
  53. consists of a number of functions required for IPv6, such as improved
  54. versions of getaddrinfo(). If your systems C library already has support
  55. for IPv6 in getaddrinfo(), you don't need the inet6-apps package.
  56. 4. What to do when things go wrong
  57. ==================================
  58. There is a command line switch called -v or --verbose. Use it. The
  59. output that it gives can give significant help with locating a potential
  60. problem with jwhois. When attempting to use the cache feature, the most
  61. common problem is that jwhois doesn't have permission to write the database
  62. files that it need. Use the verbose flag to see if this is indeed the problem.
  63. If you want to receive even more debugging output, you can specify
  64. multiple -v switches. If you specify more than one -v switch, debugging output
  65. is enabled.
  66. 5. Obtaining JWHOIS
  67. ===================
  68. JWHOIS can be obtained via anonymous FTP from
  69. ftp://ftp.gnu.org/gnu/jwhois/
  70. 6. What to do after you've gotten things to work
  71. ================================================
  72. If you use JWHOIS and find it useful, you could always send a message to
  73. us at help-jwhois@gnu.org to let us know. You don't have to do this, but we
  74. would appreciate the gesture :-)
  75. 7. The history of jwhois
  76. ========================
  77. The first public version of jwhois (version 1.1) was released in April
  78. 1999. Since then, some ten public releases has been made, arriving at the
  79. jwhois as it exists today. Here is a brief outline of the development:
  80. 1.1 Written in Perl with a standalone caching proxy.
  81. 2.0 Rewrite in C. Standalone caching proxy dropped from distribution.
  82. 2.1 Better documentation. Support for whois servers on other ports than 43.
  83. 2.2 Support for CIDR blocks and IPv6.
  84. 2.3 Redirections, caches and i18n are introduced.
  85. 2.4 Maintanance release preparing for 3.0
  86. 3.0 Rwhois and http support. Rewriting of queries introduced.
  87. 3.1 Added "default" to configuration file.
  88. 3.2 Added advanced rewrite of queries.
  89. A more detailed list of changes can be found in the file NEWS.