summaryrefslogtreecommitdiffstats
path: root/whois.conf.5
blob: dd13bca292d294be38b30588ab02ce50525a6bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.TH "WHOIS.CONF" "5" "2019-12-30" "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
.br
# Private ASNs
.br
^as645(1[2-9]|2[0-9]|3[0-4])$    whois.example.net

.SH FILES
/etc/whois.conf

.SH "SEE ALSO"
.IR whois (1)

.SH AUTHOR
This manual page was written by Petr Písař
.RI < ppisar@redhat.com >
and is licensed under the terms of the GNU General Public License,
version 2 or higher.
\" SPDX-License-Identifier: GPL-2.0-or-later