Add whois.conf(5) manual page

This commit is contained in:
Petr Písař 2013-04-09 14:20:40 +02:00 committed by Marco d'Itri
parent c5fb072b2b
commit 3f0c3d4436
3 changed files with 48 additions and 0 deletions

View File

@ -93,8 +93,10 @@ install: install-whois install-mkpasswd install-pos
install-whois: whois
$(INSTALL) -d $(BASEDIR)$(prefix)/bin/
$(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man1/
$(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man5/
$(INSTALL) -m 0755 whois $(BASEDIR)$(prefix)/bin/
$(INSTALL) -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
$(INSTALL) -m 0644 whois.conf.5 $(BASEDIR)$(prefix)/share/man/man5/
install-mkpasswd: mkpasswd
$(INSTALL) -d $(BASEDIR)$(prefix)/bin/

View File

@ -200,6 +200,8 @@ This server will be queried if the program cannot guess where some kind
of objects are located. If the variable does not exist then
\fIwhois.arin.net\fP will be queried.
.SH "SEE ALSO"
\fBwhois.conf\fP(5)
.PP
\fIRFC 3912\fP: WHOIS Protocol Specification
.PP
\fIRIPE Database Query Reference Manual:\fP

44
whois.conf.5 Normal file
View File

@ -0,0 +1,44 @@
.TH "WHOIS.CONF" "5" "9 April 2013" "Petr Písař" "Debian GNU/Linux"
.SH "NAME"
whois.conf \- alternative WHOIS servers list for whois client
.SH "SYNOPSIS"
.B /etc/whois.conf
.SH "DESCRIPTION"
This file contains a list of WHOIS servers which can augment or override
the built-in list of the client.
It's a plain text file in ASCII encoding. Each line consists of two fields:
a pattern to match WHOIS object identifier and a corresponding WHOIS server
domain name.
Fields are separated by non-empty sequence of space or a tabular characters.
A line starting with a hash character is a free comment and it's not
considered.
The pattern is case-insensitive extended regular expression if whois client
has been compiled with POSIX regular expressions support. Otherwise, simple
case-insensitive suffix comparison against WHOIS object identifier is used.
Internationalized domain names (IDN) must be specified in ascii-compatible
encoding (ACE) format.
.SH "EXAMPLE"
\\.nz$ nz.whois-servers.net
.br
# Hangul Korean TLD
.br
\\.xn--3e0b707e$ whois.kr
.SH "FILES"
/etc/whois.conf
.SH "SEE ALSO"
\fBwhois\fP(1)
.SH "AUTHOR"
This manual page was written by Petr Písař <\fIppisar@redhat.com\fP>
and is licensed under the terms of the GNU General Public License,
version 2 or higher.