summaryrefslogtreecommitdiffstats
path: root/whois.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--whois.conf11
-rw-r--r--whois.conf.550
2 files changed, 61 insertions, 0 deletions
diff --git a/whois.conf b/whois.conf
new file mode 100644
index 0000000..620894c
--- /dev/null
+++ b/whois.conf
@@ -0,0 +1,11 @@
+# whois configuration file
+#
+# This file can contain details of alternative whois servers to use if
+# the compiled in servers are not suitable. Each entry is a single
+# text line and consists of a regular expression pattern to match and
+# the whois server to be used for it, separated by blank space.
+# IDN domains must use the ACE format.
+#
+# Eg:
+# \.nz$ nz.whois-servers.net
+#
diff --git a/whois.conf.5 b/whois.conf.5
new file mode 100644
index 0000000..dd13bca
--- /dev/null
+++ b/whois.conf.5
@@ -0,0 +1,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