From nobody Mon May 15 23:55:39 2023
X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QKx8C5wbyz4BG0q;
Mon, 15 May 2023 23:55:39 +0000 (UTC)
(envelope-from git@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
client-signature RSA-PSS (4096 bits) client-digest SHA256)
(Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK))
by mx1.freebsd.org (Postfix) with ESMTPS id 4QKx8C4zkGz3MXy;
Mon, 15 May 2023 23:55:39 +0000 (UTC)
(envelope-from git@FreeBSD.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
t=1684194939;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding;
bh=YPYEQ5JaxKQ99R8lwXDWG2jgVmvv/INFe83aZRDrasg=;
b=qFzWKVeSncSjRly90fxoF0ZZSaGcbLVT78EnEwJLwqOkEIU2x0fCSohAu2sZHJRUc1Rn82
mvfTFdQHkQkOKAKabQVp95mVQAcwUBrKwsW5MMR8dGPoJCKdN3k9yhiNPqm4EFc0HXdfM0
F3fwDBamYPmA6ijE/tHIGWb0b871HRV02+p1sUKviwfv+GcJnj4KQ7jqii4susOc3ILw5l
MkdJzw+mq9l6lmSzVe/lFp66nbTlc2cgcJQ2IZP0RgMK+cIVcm5j5NvcRaI62ALdYFXV4H
huSBjoKA3iZXmMPYzM1No/kXQiTFn/qatPa8TbgDNLA2pIQs2ubHippRYZyfmg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
s=dkim; t=1684194939;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding;
bh=YPYEQ5JaxKQ99R8lwXDWG2jgVmvv/INFe83aZRDrasg=;
b=qZmeZ+Ak/PyfiypnZ6e2d53UkQOqLPONMnA6fVfN1di0wrI+IxPp5HU7PE95HYpWKeYxDY
63wss1AQyuvMJDudhKZPwwUSA+zDZNraicbmu8I2DQGurZ6sT0g+JvAlVuRw/wSKz9gAd8
sVRZVDRnrvh6C+lb1txsHHnRpa9/yw0kvIGw2rVC68H6PXB7W3AZeNa7A0nbJKlUE/h3Y4
BuIK7EDfPZxB58l9JKLOlsfxfgH42l6N9PRNLQHjnwzMEbUNlrmDq8Qm5fVmrw5zg3d/jv
tFoVhZxEN8DD8rJeON7RQO1axEvx7xaVqWM2oTMxl3Fjvb1Gp5ybjfsMjsh3ww==
ARC-Authentication-Results: i=1;
mx1.freebsd.org;
none
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684194939; a=rsa-sha256; cv=none;
b=Jixe106sohNYZS1LlwFOHGObiTVY/rGgvdOmSuIZEKQCyppWV+ix3VdW4zrmlQDXap/y0u
Jg6axFaldl86oesqDN9xt5fGsUjVYaJTWFV5BATnXp1I/AjV4nAu5bx0qsTzdWbzDHeDOC
cuzXSE8ZUiXTJ1CbsMdhqmgvbXiOBu+ZHdg9TOjSIfEQDcnxb2tuiDcAb5DUrwvv98iabE
p3cdb1WRq31MTjHhT7peeMnCvOXB3blBvIkvbP6JUQfPI2nOWfsu0zU7YxY4m7Gt9uKe4Z
piAZLM6KMR2UzzMGMigUMtzdBkWXTwbF8mL22Q17MIbRsJ/bmJZoaiZOCk36bg==
Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
(Client did not present a certificate)
by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QKx8C400Dz10df;
Mon, 15 May 2023 23:55:39 +0000 (UTC)
(envelope-from git@FreeBSD.org)
Received: from gitrepo.freebsd.org ([127.0.1.44])
by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34FNtdpC079666;
Mon, 15 May 2023 23:55:39 GMT
(envelope-from git@gitrepo.freebsd.org)
Received: (from git@localhost)
by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34FNtd2n079665;
Mon, 15 May 2023 23:55:39 GMT
(envelope-from git)
Date: Mon, 15 May 2023 23:55:39 GMT
Message-Id: <202305152355.34FNtd2n079665@gitrepo.freebsd.org>
To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org,
dev-commits-ports-main@FreeBSD.org
From: Koichiro Iwao
Subject: git: 546af61fa720 - main - net/jwhois: import Fedora patches & pass to maintainer
List-Id: Commit messages for all branches of the ports repository
List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all
List-Help:
List-Post:
List-Subscribe:
List-Unsubscribe:
Sender: owner-dev-commits-ports-all@freebsd.org
X-BeenThere: dev-commits-ports-all@freebsd.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Git-Committer: meta
X-Git-Repository: ports
X-Git-Refname: refs/heads/main
X-Git-Reftype: branch
X-Git-Commit: 546af61fa720b0d4eff77ac6dd395cb504866e6b
Auto-Submitted: auto-generated
X-ThisMailContainsUnwantedMimeParts: N
The branch main has been updated by meta:
URL: https://cgit.FreeBSD.org/ports/commit/?id=546af61fa720b0d4eff77ac6dd395cb504866e6b
commit 546af61fa720b0d4eff77ac6dd395cb504866e6b
Author: Koichiro Iwao
AuthorDate: 2023-05-15 04:19:11 +0000
Commit: Koichiro Iwao
CommitDate: 2023-05-15 23:54:16 +0000
net/jwhois: import Fedora patches & pass to maintainer
While here, use subst rather than using hardcoded path for lynx,
tiny cleanups.
PR: 271401
Reviewed by: meta (myself, revised submitter's patch)
---
net/jwhois/Makefile | 32 +-
net/jwhois/distinfo | 3 +
net/jwhois/files/jwhois.conf | 1004 ------------------------------------------
net/jwhois/pkg-descr | 2 +
4 files changed, 27 insertions(+), 1014 deletions(-)
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile
index 7f8dbaea972c..7781f62a60a7 100644
--- a/net/jwhois/Makefile
+++ b/net/jwhois/Makefile
@@ -1,15 +1,18 @@
PORTNAME= jwhois
PORTVERSION= 4.0
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= net
-MASTER_SITES= GNU
+MASTER_SITES= GNU \
+ https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/source/tree/Packages/j/:srpm
+DISTFILES= ${DISTNAME}.tar.gz jwhois-4.0-73.fc38.src.rpm:srpm
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= terry-freebsd@glaver.org
COMMENT= Improved WHOIS client capable of selecting server to query
WWW= https://www.gnu.org/software/jwhois/
LICENSE= GPLv3
+RUN_DEPENDS= lynx:www/lynx
LIB_DEPENDS= libidn.so:dns/libidn
GNU_CONFIGURE= yes
@@ -21,19 +24,28 @@ CONFIGURE_ARGS= --localstatedir=${PREFIX}/var/jwhois
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
-NLS_CONFIGURE_OFF= --disable-nls --without-libiconv-prefix
+NLS_CONFIGURE_OFF= --disable-nls \
+ --without-libiconv-prefix
INSTALL_TARGET= install-strip
-INFO= jwhois
+INFO= jwhois
.include
-.if exists(${FILESDIR}/jwhois.conf)
-JWHOIS_CONF_SRC=${FILESDIR}/jwhois.conf
-.else
-JWHOIS_CONF_SRC=${WRKSRC}/example/jwhois.conf
-.endif
+JWHOIS_CONF_SRC= ${WRKDIR}/jwhois.conf
+
+pre-patch:
+.for p in jwhois-4.0-connect.patch jwhois-4.0-ipv6match.patch jwhois-4.0-fclose.patch \
+ jwhois-4.0-select.patch jwhois-4.0-multi-homed.patch jwhois-4.0-libidn2.patch \
+ jwhois-4.0-idna.patch jwhois-4.0-idnfail.patch jwhois-4.0-ipv4_ipv6.patch \
+ jwhois-configure-c99.patch jwhois-c99.patch
+ (cd ${WRKSRC} && ${PATCH} -p1 < ${WRKDIR}/${p})
+.endfor
+
+post-patch:
+ ${REINPLACE_CMD} 's|browser-pathname = "/usr/bin|browser-pathname = "${LOCALBASE}/bin|' \
+ ${WRKDIR}/jwhois.conf
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/var/jwhois
diff --git a/net/jwhois/distinfo b/net/jwhois/distinfo
index bd98cab909c0..7b2f7169e11c 100644
--- a/net/jwhois/distinfo
+++ b/net/jwhois/distinfo
@@ -1,2 +1,5 @@
+TIMESTAMP = 1684142855
SHA256 (jwhois-4.0.tar.gz) = fa9bb86782b915c6d730bb723f876dc9b345a617db375aaf3416ec22553cd64e
SIZE (jwhois-4.0.tar.gz) = 493007
+SHA256 (jwhois-4.0-73.fc38.src.rpm) = 3c4311e428530b93a0a9aa2ca1a7224b5a1c3ba39d62864796144fa097b7d13e
+SIZE (jwhois-4.0-73.fc38.src.rpm) = 555052
diff --git a/net/jwhois/files/jwhois.conf b/net/jwhois/files/jwhois.conf
deleted file mode 100644
index 44cc67e4721c..000000000000
--- a/net/jwhois/files/jwhois.conf
+++ /dev/null
@@ -1,1004 +0,0 @@
-# This is jwhois.conf - an example configuration file for jwhois
-#
-# Due to the ever-changing nature of the Internet, the configuration file
-# released with Jwhois quickly gets outdated. You can find the latest version
-# in the Jwhois CVS repository, which is accessible via the web from
-# http://savannah.gnu.org/cgi-bin/viewcvs/jwhois/jwhois/example/jwhois.conf
-
-#
-# Local domain registries and pointers to cidr-blocks and handles.
-# This is where jwhois begins the search for a Whois server to query
-#
-whois-servers {
- #
- # The type can be either cidr or regex, the former matches using CIDR
- # blocks and the later using regular expressions.
- #
- type = regex;
-
- #
- # You can use the special value `struct' to redirect the query
- # to another block which optionally can use another type of matching.
- # Here we use it to have IPv4 numbers matched using CIDR blocks instead
- # of regular expressions. See below for the definition of cidr-blocks.
- #
- "\\([0-9]+\\.\\)+[0-9]+" = "struct cidr-blocks";
- "^[0-9A-Fa-f]+:[0-9A-Fa-f:.]*\\(/[0-9]+\\)?$" = "struct cidr6-blocks";
- "^CORE-[0-9]+$" = "struct handles";
- "^CO[CH]O-[0-9]+$" = "struct handles";
- ".*-[A-Z]+$" = "struct handles";
-
- #
- # Catch AS numbers
- #
- "^[0-9]+$" = "whois.arin.net";
- "^ASN-.+" = "whois.arin.net";
- "^AS[0-9]+$" = "whois.radb.net";
-
- #
- # Catch ARIN nameserver records
- #
- "^NS[0-9]+-HST$" = "whois.arin.net";
-
- #
- # Catch ARIN netblock records
- #
- "^!?NET\\(BLK\\)?\\(-[A-Z0-9]+\\)+$" = "whois.arin.net";
-
- #
- # Catch Verio netblock records
- #
- "^!?NET\\(BLK\\)?-VRIO\\(-[A-Z0-9]+\\)+$" = "rwhois.verio.net";
-
- #
- # Catch Registro .BR ownerid records
- #
- "^[0-9]+\\.[0-9]+\\.[0-9]+/[0-9]+-[0-9]+$" = "whois.nic.br";
-
- #
- # Japanese NIC handles
- #
- "^[A-Z]+[0-9]+JP$" = "whois.nic.ad.jp";
- #
- # If your host and network supports it, you can also specify IPv6
- # addresses in the server field.
- #
- # ".*:.*" = "::1"
- #
-
- #
- # This is a special construct designed with the whois-servers.net
- # service in mind. If you use this, jwhois will query whois-servers.net
- # for which whois server to use for each domain query.
- #
- # default = "whois-servers";
-
- #
- # Sub-TLA Assignments
- #
-
- #
- # Pseudo-ccTLDs must be listed above gTLDs
- #
- "\\.ae\\.org$" = "whois.centralnic.net";
- "\\.br\\.com$" = "whois.centralnic.net";
- "\\.cn\\.com$" = "whois.centralnic.net";
- "\\.de\\.com$" = "whois.centralnic.net";
- "\\.eu\\.com$" = "whois.centralnic.net";
- "\\.eu\\.org$" = "whois.eu.org";
- "\\.gb\\.com$" = "whois.centralnic.net";
- "\\.gb\\.net$" = "whois.centralnic.net";
- "\\.hu\\.com$" = "whois.centralnic.net";
- "\\.jpn\\.com$" = "whois.centralnic.net";
- "\\.kr\\.com$" = "whois.centralnic.net";
- "\\.no\\.com$" = "whois.centralnic.net";
- "\\.qc\\.com$" = "whois.centralnic.net";
- "\\.ru\\.com$" = "whois.centralnic.net";
- "\\.sa\\.com$" = "whois.centralnic.net";
- "\\.se\\.com$" = "whois.centralnic.net";
- "\\.se\\.net$" = "whois.centralnic.net";
- "\\.uk\\.com$" = "whois.centralnic.net";
- "\\.uk\\.net$" = "whois.centralnic.net";
- "\\.us\\.com$" = "whois.centralnic.net";
- "\\.uy\\.com$" = "whois.centralnic.net";
- "\\.web\\.com$" = "whois.centralnic.net";
- "\\.za\\.com$" = "whois.centralnic.net";
-
- "\\.ac$" = "whois.nic.ac";
- "\\.ae$" = "whois.uaenic.ae";
- "\\.aero$" = "whois.aero";
- "\\.af$" = "whois.nic.af";
- "\\.ag$" = "whois.nic.ag";
- "\\.ai$" = "whois.offshore.ai";
- "\\.al$" = "whois.ripe.net";
- "\\.am$" = "whois.amnic.net";
- "\\.ar$" = "www.nic.ar";
- "\\.as$" = "whois.nic.as";
- "\\.at$" = "whois.nic.at";
- "\\.asn\\.au$" = "whois.ausregistry.net.au";
- "\\.com\\.au$" = "whois.ausregistry.net.au";
- "\\.id\\.au$" = "whois.ausregistry.net.au";
- "\\.net\\.au$" = "whois.ausregistry.net.au";
- "\\.org\\.au$" = "whois.ausregistry.net.au";
- "\\.au$" = "whois.aunic.net";
- "\\.az$" = "whois.ripe.net";
- "\\.ba$" = "whois.ripe.net";
- "\\.be$" = "whois.dns.be";
- "\\.bg$" = "whois.register.bg";
- "\\.bi$" = "www.nic.bi";
- "\\.biz$" = "whois.neulevel.biz";
- "\\.bj$" = "whois.nic.bj";
- "\\.bm$" = "rwhois.ibl.bm 4321";
- "\\.br$" = "whois.nic.br";
- "\\.bv$" = "whois.ripe.net";
- "\\.by$" = "whois.ripe.net";
- "\\.bz$" = "whois.belizenic.bz";
- "\\.ca$" = "whois.cira.ca";
- "\\.cat$" = "whois.cat";
- "\\.cc$" = "whois.nic.cc";
- "\\.cd$" = "whois.nic.cd";
- "\\.cg$" = "www.nic.cg";
- "\\.ch$" = "whois.nic.ch";
- "\\.ci$" = "whois.nic.ci";
- "\\.ck$" = "whois.nic.ck";
- "\\.cl$" = "whois.nic.cl";
- "\\.edu\\.cn$" = "whois.edu.cn";
- "\\.cn$" = "whois.cnnic.net.cn";
- "\\.com$" {
- whois-server = "whois.verisign-grs.com";
- query-format = "domain $*";
- }
- "\\.coop$" = "whois.nic.coop";
- "\\.cx$" = "whois.nic.cx";
- "\\.cy$" = "whois.ripe.net";
- "\\.cz$" = "whois.nic.cz";
- "\\.de$" {
- whois-server = "whois.denic.de";
- query-format = "-C UTF-8 -T dn,ace $*";
- }
- "\\.dk$" = "whois.dk-hostmaster.dk";
- "\\.dm$" = "whois.nic.dm";
- "\\.do$" = "whois.nic.do";
- "\\.dz$" = "whois.ripe.net";
- "\\.ec$" = "www.nic.ec";
- "\\.edu$" = "whois.educause.net";
- "\\.ee$" = "whois.eenet.ee";
- "\\.eg$" = "whois.ripe.net";
- "\\.es$" = "www.nic.es";
- "\\.eu$" = "whois.eu";
- "\\.fi$" = "whois.ficora.fi";
- "\\.fj$" = "whois.usp.ac.fj";
- "\\.fm$" = "www.dot.fm";
- "\\.fo$" = "whois.ripe.net";
- "\\.fr$" = "whois.nic.fr";
- "\\.gi$" = "www.nic.gi";
- "\\.gov$" = "whois.nic.gov";
- "\\.gg$" = "whois.isles.net";
- "\\.gm$" = "whois.ripe.net";
- "\\.gp$" = "whois.nic.gp";
- "\\.gr$" = "whois.ripe.net";
- "\\.gs$" = "203.119.12.22";
- "\\.gt$" = "www.gt";
- "\\.hk$" = "whois.hkdnr.net.hk";
- "\\.hm$" = "whois.registry.hm";
- "\\.hr$" = "www.dns.hr";
- "\\.hu$" = "whois.nic.hu";
- "\\.id$" = "whois.idnic.net.id";
- "\\.ie$" = "whois.domainregistry.ie";
- "\\.il$" = "whois.isoc.org.il";
- "\\.in$" = "whois.inregistry.in";
- "\\.info$" = "whois.afilias.info";
- "\\.int$" = "whois.iana.org";
- "\\.io$" = "www.io.io";
- "\\.ir$" = "whois.nic.ir";
- "\\.im$" = "whois.nic.im";
- "\\.is$" = "whois.isnic.is";
- "\\.it$" = "whois.nic.it";
- "\\.je$" = "whois.isles.net";
- "\\.jp$" {
- whois-server = "whois.jprs.jp";
- query-format = "$* /e";
- }
- "\\.kg$" = "whois.domain.kg";
- "\\.ki$" = "whois.nic.ki";
- "\\.kr$" = "whois.krnic.net";
- "\\.kz$" = "whois.nic.kz";
- "\\.la$" = "whois.nic.la";
- "\\.lb$" = "cgi.aub.edu.lb";
- "\\.li$" = "whois.nic.li";
- "\\.lk$" = "whois.nic.lk";
- "\\.lt$" = "whois.domreg.lt";
- "\\.lu$" = "whois.dns.lu";
- "\\.lv$" = "whois.nic.lv";
- "\\.ly$" = "whois.nic.ly";
- "\\.ma$" = "whois.ripe.net";
- "\\.mil$" = "whois.nic.mil";
- "\\.mk$" = "whois.ripe.net";
- "\\.mm$" = "whois.nic.mm";
- "\\.mobi$" = "whois.dotmobiregistry.net";
- "\\.ms$" = "whois.adamsnames.tc";
- "\\.mt$" = "www.um.edu.mt";
- "\\.mu$" = "whois.nic.mu";
- "\\.museum$" = "whois.museum";
- "\\.mw$" = "www.tarsus.net";
- "\\.mx$" = "whois.nic.mx";
- "\\.my$" = "whois.mynic.net.my";
- "\\.na$" = "whois.na-nic.com.na";
- "\\.name$" = "whois.nic.name";
- "\\.net$" {
- whois-server = "whois.verisign-grs.com";
- query-format = "domain $*";
- }
- "\\.ng$" = "whois.rg.net";
- "\\.nl$" = "whois.domain-registry.nl";
- "\\.no$" = "whois.norid.no";
- "\\.nu$" = "whois.nic.nu";
- "\\.nz$" = "whois.srs.net.nz";
- "\\.org$" = "whois.publicinterestregistry.net";
- "\\.pe$" = "whois.nic.pe";
- "\\.pk$" = "pknic.net.pk";
- "\\.pl$" = "whois.dns.pl";
- "\\.pm$" = "whois.nic.pm";
- "\\.pro$" = "whois.registrypro.pro";
- "\\.pt$" = "whois.dns.pt";
- "\\.pw$" = "whois.nic.pw";
- "\\.re$" = "whois.nic.re";
- "\\.ro$" = "whois.rotld.ro";
- "\\.ru$" = "whois.ripn.net";
- "\\.rw$" = "www.nic.rw";
- "\\.sa$" = "saudinic.net.sa";
- "\\.se$" = "whois.iis.se";
- "\\.sg$" = "whois.nic.net.sg";
- "\\.sh$" = "whois.nic.sh";
- "\\.si$" = "whois.arnes.si";
- "\\.sj$" = "whois.ripe.net";
- "\\.sk$" = "whois.ripe.net";
- "\\.sm$" = "whois.ripe.net";
- "\\.sr$" = "whois.register.sr";
- "\\.st$" = "whois.nic.st";
- "\\.su$" = "whois.ripn.net";
- "\\.tc$" = "whois.adamsnames.tc";
- "\\.tf$" = "whois.afnic.fr";
- "\\.tg$" = "www.nic.tg";
- "\\.th$" = "whois.thnic.net";
- "\\.tj$" = "whois.nic.tj";
- "\\.tk$" = "whois.dot.tk";
- "\\.tl$" = "whois.nic.tl";
- "\\.tm$" = "whois.nic.tm";
- "\\.tn$" = "whois.ripe.net";
- "\\.to$" = "whois.tonic.to";
- "\\.tr$" = "whois.nic.tr";
- "\\.tt$" = "www.nic.tt";
- "\\.tv$" = "whois.nic.tv";
- "\\.tw$" = "whois.twnic.net";
- "\\.ua$" = "whois.com.ua";
- "\\.ug$" = "whois.co.ug";
- "\\.ac\\.uk$" = "whois.ja.net";
- "\\.gov\\.uk$" = "whois.ja.net";
- "\\.uk$" = "whois.nic.uk";
- "\\.fed\\.us$" = "whois.nic.gov";
- "\\.us$" = "whois.nic.us";
- "\\.com\\.uy$" = "dns.antel.net.uy";
- "\\.uy$" = "www.rau.edu.uy"; # is a whois server
- "\\.uz$" = "www.noc.uz";
- "\\.va$" = "whois.ripe.net";
- "\\.ve$" = "whois.nic.ve";
- "\\.vi$" = "www.nic.vi";
- "\\.vg$" = "whois.adamsnames.tc";
- "\\.vn$" = "www.vnnic.net.vn";
- "\\.vu$" = "www.vunic.vu";
- "\\.wf$" = "whois.nic.wf";
- "\\.ws$" = "whois.worldsite.ws";
- "\\.yt$" = "whois.nic.yt";
- "\\.yu$" = "whois.ripe.net";
- "\\.ac\\.za$" = "whois.ac.za";
- "\\.org\\.za$" = "rwhois.org.za 4321";
- "\\.co\\.za$" = "whois.co.za";
- # "\\.za$" = "whois.frd.ac.za";
-
- #
- # Specify different port numbers to connect to by postfixing the IP
- # number or host with a space and the designated port. Default is to
- # use the whois port from /etc/services.
- #
- # ".*" = "whois.internic.net 666";
-
- default {
- whois-server = "whois.internic.net";
- # Make sure we only match on domain names
- query-format = "domain $*";
- }
-}
-
-#
-# cidr-blocks contains a list of all known CIDR blocks assigned to
-# RIPE or APNIC. Default all queries to ARIN which has most other blocks.
-#
-# see http://www.iana.org/assignments/ipv4-address-space
-#
-cidr-blocks {
- type = cidr;
-
-# Note: JPNIC doesn't appear to publish lists of netblocks on their
-# website - this data was derived by searching for "Japan Network
-# Information Center" in the ARIN and APNIC databases. It may
-# not be complete.
-
- "61.112.0.0/12" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "61.192.0.0/12" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "61.208.0.0/13" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "133.0.0.0/8" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPANB-INET
- "150.100.0.0/16" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN2
- "150.1.0.0/16" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN2
- "150.16.0.0/12" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN2
- "150.2.0.0/15" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN2
- "150.32.0.0/11" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN2
- "150.4.0.0/14" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN2
- "150.64.0.0/11" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN2
- "150.8.0.0/13" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN2
- "150.96.0.0/14" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN2
- "158.198.0.0/15" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN-NET-1
- "158.200.0.0/13" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN-NET-1
- "158.208.0.0/13" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN-NET-1
- "158.216.0.0/15" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN-NET-1
- "163.130.0.0/15" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN-NET
- "163.132.0.0/14" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN-NET
- "163.136.0.0/13" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN-NET
- "163.144.0.0/14" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN-NET
- "163.148.0.0/15" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN-NET
- "192.218.0.0/16" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPANC-INET-BLOCK1
- "192.244.0.0/16" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPAN-INET-C
- "192.41.192.0/24" = "whois.nic.ad.jp"; # ARIN NET-UTOKYO-CON1
- "192.47.0.0/17" = "whois.nic.ad.jp"; # ARIN NETBLK-KIT-BLOCK
- "192.47.128.0/18" = "whois.nic.ad.jp"; # ARIN NETBLK-KIT-BLOCK
- "192.47.142.0/24" = "whois.nic.ad.jp"; # ARIN ITC-JP2
- "192.47.192.0/19" = "whois.nic.ad.jp"; # ARIN NETBLK-KIT-BLOCK
- "192.47.224.0/20" = "whois.nic.ad.jp"; # ARIN NETBLK-KIT-BLOCK
- "192.47.240.0/23" = "whois.nic.ad.jp"; # ARIN NETBLK-KIT-BLOCK
- "192.51.128.0/17" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPANC-INET4
- "192.51.16.0/20" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPANC-INET4
- "192.51.32.0/19" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPANC-INET4
- "192.51.64.0/18" = "whois.nic.ad.jp"; # ARIN NETBLK-JAPANC-INET4
- "202.11.0.0/16" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "202.13.0.0/16" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "202.15.0.0/16" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "202.16.0.0/14" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "202.23.0.0/16" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "202.24.0.0/15" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "202.26.0.0/16" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "202.32.0.0/14" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "202.48.0.0/16" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "202.208.0.0/12" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "202.224.0.0/11" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "203.136.0.0/14" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "203.140.0.0/15" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "203.178.0.0/15" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "203.180.0.0/14" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "210.128.0.0/11" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "210.136.0.0/13" = "whois.nic.ad.jp";
- "210.160.0.0/12" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "210.188.0.0/14" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "210.196.0.0/14" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "210.224.0.0/12" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "210.248.0.0/13" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "211.0.0.0/12" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "211.16.0.0/14" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "211.52.0.0/14" = "whois.nic.or.kr";
- "211.56.0.0/13" = "whois.nic.or.kr";
- "211.104.0.0/13" = "whois.nic.or.kr";
- "211.112.0.0/13" = "whois.nic.or.kr";
- "211.120.0.0/13" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "211.128.0.0/13" = "whois.nic.ad.jp"; # APNIC JPNIC-NET-JP
- "211.172.0.0/14" = "whois.nic.or.kr";
- "211.176.0.0/12" = "whois.nic.or.kr";
- "211.192.0.0/13" = "whois.nic.or.kr";
- "219.96.0.0/11" = "whois.nic.ad.jp";
- "220.104.0.0/13" = "whois.nic.ad.jp";
- "220.208.0.0/12" = "whois.nic.ad.jp";
- "221.112.0.0/13" = "whois.nic.ad.jp";
-
- "24.132.0.0/16" = "whois.ripe.net";
- "24.232.0.0/16" = "whois.lacnic.net";
- "41.0.0.0/8" = "whois.afrinic.net";
- "43.0.0.0/8" = "whois.v6nic.net";
- "58.0.0.0/8" = "whois.apnic.net";
- "59.0.0.0/8" = "whois.apnic.net";
- "60.0.0.0/8" = "whois.apnic.net";
- "61.0.0.0/8" = "whois.apnic.net";
- "62.135.36.0/17" = "whois.afrinic.net";
- "62.0.0.0/8" = "whois.ripe.net";
- "80.87.64.0/19" = "whois.afrinic.net";
- "80.0.0.0/8" = "whois.ripe.net";
- "81.91.224.0/20" = "whois.afrinic.net";
- "81.192.0.0/16" = "whois.afrinic.net";
- "81.0.0.0/8" = "whois.ripe.net";
- "82.101.128.0/18" = "whois.afrinic.net";
- "82.201.128.0/17" = "whois.afrinic.net";
- "82.201.160.0/19" = "whois.afrinic.net";
- "82.201.224.0/19" = "whois.afrinic.net";
- "82.0.0.0/8" = "whois.ripe.net";
- "83.0.0.0/8" = "whois.ripe.net";
- "84.36.0.0/17" = "whois.afrinic.net";
- "84.0.0.0/8" = "whois.ripe.net";
- "85.0.0.0/8" = "whois.ripe.net";
- "86.0.0.0/8" = "whois.ripe.net";
- "87.0.0.0/8" = "whois.ripe.net";
- "88.0.0.0/8" = "whois.ripe.net";
- "89.0.0.0/8" = "whois.ripe.net";
- "90.0.0.0/8" = "whois.ripe.net";
- "91.0.0.0/8" = "whois.ripe.net";
- "121.0.0.0/8" = "whois.apnic.net";
- "122.0.0.0/8" = "whois.apnic.net";
- "123.0.0.0/8" = "whois.apnic.net";
- "124.0.0.0/8" = "whois.apnic.net";
- "125.0.0.0/8" = "whois.apnic.net";
- "126.0.0.0/8" = "whois.apnic.net";
- "129.132.0.0/16" = "whois.ripe.net";
- "129.177.0.0/16" = "whois.ripe.net";
- "129.187.0.0/16" = "whois.ripe.net";
- "130.225.0.0/16" = "whois.ripe.net";
- "130.226.0.0/15" = "whois.ripe.net";
- "130.227.0.0/16" = "whois.ripe.net";
- "130.228.0.0/14" = "whois.ripe.net";
- "130.232.0.0/13" = "whois.ripe.net";
- "130.240.0.0/14" = "whois.ripe.net";
- "130.244.0.0/16" = "whois.ripe.net";
- "130.244.0.0/16" = "whois.ripe.net";
- "132.64.0.0/13" = "whois.ripe.net";
- "132.72.0.0/14" = "whois.ripe.net";
- "132.76.0.0/15" = "whois.ripe.net";
- "132.78.0.0/16" = "whois.ripe.net";
- "137.138.0.0/16" = "whois.ripe.net";
- "138.130.0.0/16" = "whois.apnic.net";
- "140.109.0.0/16" = "whois.apnic.net";
- "140.110.0.0/15" = "whois.apnic.net";
- "140.112.0.0/12" = "whois.apnic.net";
- "140.116.0.0/14" = "whois.apnic.net";
- "140.120.0.0/13" = "whois.apnic.net";
- "140.128.0.0/13" = "whois.apnic.net";
- "140.136.0.0/15" = "whois.apnic.net";
- "140.138.0.0/16" = "whois.apnic.net";
- "141.223.0.0/16" = "whois.apnic.net";
- "143.89.0.0/16" = "whois.apnic.net";
- "143.90.0.0/16" = "whois.apnic.net";
- "144.130.0.0/15" = "whois.apnic.net";
- "144.132.0.0/14" = "whois.apnic.net";
- "144.136.0.0/14" = "whois.apnic.net";
- "144.140.0.0/16" = "whois.apnic.net";
- "145.0.0.0/8" = "whois.ripe.net";
- "147.46.0.0/15" = "whois.apnic.net";
- "150.1.0.0/16" = "whois.apnic.net";
- "150.2.0.0/15" = "whois.apnic.net";
- "150.4.0.0/14" = "whois.apnic.net";
- "150.8.0.0/13" = "whois.apnic.net";
- "150.16.0.0/12" = "whois.apnic.net";
- "150.32.0.0/11" = "whois.apnic.net";
- "150.64.0.0/11" = "whois.apnic.net";
- "150.96.0.0/14" = "whois.apnic.net";
- "150.100.0.0/15" = "whois.apnic.net";
- "150.217.0.0/16" = "whois.ripe.net";
- "151.3.0.0/16" = "whois.ripe.net";
- "151.4.0.0/15" = "whois.ripe.net";
- "151.10.0.0/15" = "whois.ripe.net";
- "151.12.0.0/14" = "whois.ripe.net";
- "151.16.0.0/12" = "whois.ripe.net";
- "151.32.0.0/11" = "whois.ripe.net";
- "151.64.0.0/11" = "whois.ripe.net";
- "151.96.0.0/14" = "whois.ripe.net";
- "151.100.0.0/16" = "whois.ripe.net";
- "155.230.0.0/16" = "whois.apnic.net";
- "158.190.0.0/15" = "whois.ripe.net";
- "158.192.0.0/14" = "whois.ripe.net";
- "158.196.0.0/15" = "whois.ripe.net";
- "159.147.0.0/16" = "whois.ripe.net";
- "159.148.0.0/15" = "whois.ripe.net";
- "160.216.0.0/14" = "whois.ripe.net";
- "160.220.0.0/16" = "whois.ripe.net";
- "161.110.0.0/15" = "whois.ripe.net";
- "161.112.0.0/16" = "whois.ripe.net";
- "163.13.0.0/16" = "whois.apnic.net";
- "163.14.0.0/15" = "whois.apnic.net";
- "163.16.0.0/12" = "whois.apnic.net";
- "163.32.0.0/16" = "whois.apnic.net";
- "163.156.0.0/14" = "whois.ripe.net";
- "163.160.0.0/12" = "whois.ripe.net";
- "164.0.0.0/11" = "whois.ripe.net";
- "164.32.0.0/13" = "whois.ripe.net";
- "164.40.0.0/16" = "whois.ripe.net";
- "164.100.0.0/16" = "whois.apnic.net";
- "164.128.0.0/12" = "whois.ripe.net";
- "164.160.0.0/14" = "whois.apnic.net";
- "164.164.0.0/16" = "whois.apnic.net";
- "165.21.0.0/16" = "whois.apnic.net";
- "165.76.0.0/16" = "whois.apnic.net";
- "165.165.0.0/16" = "whois.afrinic.net";
- "165.228.0.0/15" = "whois.apnic.net";
- "168.95.0.0/16" = "whois.apnic.net";
- "168.126.0.0/16" = "whois.apnic.net";
- "168.187.0.0/16" = "whois.ripe.net";
- "169.208.0.0/16" = "whois.apnic.net";
- "171.16.0.0/12" = "whois.ripe.net";
- "171.32.0.0/15" = "whois.ripe.net";
- "189.0.0.0/8" = "whois.lacnic.net";
- "190.0.0.0/8" = "whois.lacnic.net";
- "196.0.0.0/8" = "whois.afrinic.net";
- "192.16.192.0/24" = "whois.ripe.net";
- "192.114.0.0/15" = "whois.ripe.net";
- "192.116.0.0/15" = "whois.ripe.net";
- "192.118.0.0/16" = "whois.ripe.net";
- "192.140.1.0/24" = "whois.ripe.net";
- "192.140.2.0/23" = "whois.ripe.net";
- "192.140.4.0/22" = "whois.ripe.net";
- "192.140.8.0/21" = "whois.ripe.net";
- "192.140.16.0/20" = "whois.ripe.net";
- "192.140.32.0/19" = "whois.ripe.net";
- "192.140.64.0/18" = "whois.ripe.net";
- "192.140.128.0/17" = "whois.ripe.net";
- "192.141.0.0/16" = "whois.ripe.net";
- "192.142.0.0/15" = "whois.ripe.net";
- "192.144.0.0/16" = "whois.ripe.net";
- "192.145.0.0/17" = "whois.ripe.net";
- "192.145.128.0/18" = "whois.ripe.net";
- "192.145.192.0/19" = "whois.ripe.net";
- "192.145.224.0/22" = "whois.ripe.net";
- "192.145.228.0/23" = "whois.ripe.net";
- "192.145.230.0/24" = "whois.ripe.net";
- "192.164.0.0/16" = "whois.ripe.net";
- "193.0.0.0/8" = "whois.ripe.net";
- "194.0.0.0/8" = "whois.ripe.net";
- "195.166.224.0/19" = "whois.afrinic.net";
- "195.0.0.0/8" = "whois.ripe.net";
- "196.2.96.0/19" = "whois.afrinic.net";
- "196.2.128.0/17" = "whois.afrinic.net";
- "196.200.0.0/13" = "whois.afrinic.net";
- "200.17.0.0/16" = "whois.nic.br";
- "200.128.0.0/9" = "whois.nic.br";
- "200.0.0.0/8" = "whois.lacnic.net";
- "201.0.0.0/8" = "whois.lacnic.net";
- "202.0.0.0/8" = "whois.apnic.net";
- "203.0.0.0/8" = "whois.apnic.net";
- "210.0.0.0/8" = "whois.apnic.net";
- "211.0.0.0/8" = "whois.apnic.net";
- "212.22.160.0/19" = "whois.afrinic.net";
- "212.0.0.0/8" = "whois.ripe.net";
- "213.136.96.0/19" = "whois.afrinic.net";
- "213.154.64.0/19" = "whois.afrinic.net";
- "213.0.0.0/8" = "whois.ripe.net";
- "217.0.0.0/8" = "whois.ripe.net";
- "218.0.0.0/8" = "whois.apnic.net";
- "219.0.0.0/8" = "whois.apnic.net";
- "220.0.0.0/8" = "whois.apnic.net";
- "221.0.0.0/8" = "whois.apnic.net";
- "222.0.0.0/8" = "whois.apnic.net";
-
- default = "whois.arin.net";
-}
-
-#
-# See http://www.iana.org/assignments/ipv6-unicast-address-assignments
-#
-cidr6-blocks {
- type = cidr6;
-
- "2001:0000::/23" = "whois.iana.org";
- "2001:0200::/23" = "whois.apnic.net";
- "2001:0400::/23" = "whois.arin.net";
- "2001:0600::/23" = "whois.ripe.net";
- "2001:0800::/23" = "whois.ripe.net";
- "2001:0A00::/23" = "whois.ripe.net";
- "2001:0C00::/23" = "whois.apnic.net";
- "2001:0E00::/23" = "whois.apnic.net";
- "2001:1200::/23" = "whois.lacnic.net";
- "2001:1400::/23" = "whois.ripe.net";
- "2001:1600::/23" = "whois.ripe.net";
- "2001:1800::/23" = "whois.arin.net";
- "2001:1A00::/23" = "whois.ripe.net";
- "2001:1C00::/23" = "whois.ripe.net";
- "2001:1E00::/23" = "whois.ripe.net";
- "2001:2000::/20" = "whois.ripe.net";
- "2001:3000::/21" = "whois.ripe.net";
- "2001:3800::/22" = "whois.ripe.net";
- "2001:4000::/23" = "whois.ripe.net";
- "2001:4200::/23" = "whois.arin.net";
- "2001:4400::/23" = "whois.apnic.net";
- "2001:4600::/23" = "whois.ripe.net";
- "2001:4800::/23" = "whois.arin.net";
- "2001:4A00::/23" = "whois.ripe.net";
- "2001:4C00::/23" = "whois.ripe.net";
- "2001:5000::/20" = "whois.ripe.net";
- "2001:8000::/19" = "whois.apnic.net";
- "2001:A000::/20" = "whois.apnic.net";
- "2001:B000::/20" = "whois.apnic.net";
-
- "2003:0000::/18" = "whois.ripe.net";
-
- "2400:0000::/19" = "whois.apnic.net";
- "2400:2000::/19" = "whois.apnic.net";
- "2400:4000::/21" = "whois.apnic.net";
- "2404:0000::/23" = "whois.apnic.net";
-
- "2600:0000::/22" = "whois.arin.net";
- "2604:0000::/22" = "whois.arin.net";
- "2608:0000::/22" = "whois.arin.net";
- "260C:0000::/22" = "whois.arin.net";
- "2610:0000::/23" = "whois.arin.net";
-
- "2800:0000::/23" = "whois.lacnic.net";
-
- "2A00:0000::/21" = "whois.ripe.net";
- "2A01:0000::/16" = "whois.ripe.net";
-
- #
- # Experimental IPv6 network 6bone (RFC2471)
- # Phaseout at Jun, 6 2006 (RFC3701)
- #
- "3FFE::/16" = "whois.6bone.net";
-}
-
-#
-# Handles for the various registries.
-#
-handles {
- type = regex;
-
- "^!?NET\\(BLK\\)?\\(-[A-Z0-9]+\\)+$" = "whois.arin.net";
-
- "^COCO-[0-9]+$" = "whois.corenic.net";
- "^CORE-[0-9]+$" = "whois.corenic.net";
- "^COHO-[0-9]+$" = "whois.corenic.net";
-
- ".*-RIPE$" = "whois.ripe.net";
- ".*-MNT$" = "whois.ripe.net";
- ".*-ARIN$" = "whois.arin.net";
- ".*-AP$" = "whois.apnic.net";
- ".*-ORG$" = "whois.internic.net";
- ".*-DOM$" = "whois.internic.net";
- ".*-NORID$" = "whois.norid.no";
- ".*-GANDI$" = "whois.gandi.net";
- ".*-AU$" = "whois.aunic.net";
- ".*-CKNIC" = "whois.nic.ck";
- ".*-IDNIC$" = "whois.idnic.net.id";
- ".*-KG$" = "whois.domain.kg";
- ".*-NICAT$" = "whois.nic.at";
- ".*-CZ$" = "whois.nic.cz";
- ".*-NICIR$" = "whois.nic.ir";
- ".*-UYNIC$" = "www.rau.edu.uy";
- ".*-ITNIC$" = "whois.nic.it";
- ".*-FRNIC$" = "whois.nic.fr";
- ".*-LACNIC$" = "whois.lacnic.net";
- ".*-DK$" = "whois.dk-hostmaster.dk";
- ".*-SA$" {
- whois-server = "saudinic.net.sa";
- query-format = "PERSON $*";
- }
-}
-
-#
-# The server-options block defines a number of options specific for
-# each host.
-#
-server-options {
- "rwhois\\.nic\\.ve" {
- rwhois = true;
- rwhois-display = "dump";
- rwhois-limit = 10;
- }
- "rwhois\\.exodus\\.net" {
- rwhois = true;
- }
- "whois\\.publicinterestregistry\\.net" {
- whois-redirect = ".*Whois Server:\\(.*\\)";
- }
- ".*\\.internic\\.net" {
- #
- # This will match output from whois.internic.net. The
- # parenteses must be escaped and should enclose the hostname
- # to which to redirect the search.
- #
- whois-redirect = ".*Whois Server: \\(.*\\)";
- }
-
- "whois\\.crsnic\\.net" {
- whois-redirect = ".*Whois Server: \\(.*\\)";
- }
-
- "whois\\.apnic\\.net" {
- whois-redirect = ".*http://\\(whois\\.nic\\.or\\.kr\\)/";
- whois-redirect = ".*at \\([Ww][Hh][Oo][Ii][Ss]\\.[A-Za-z]*\\.[Nn][Ee][Tt]\\)";
- }
-
- "whois\\.arin\\.net" {
- #
- # Content redirection for whois.arin.net - allows redirection
- # of European and Asia-Pacific addresses to the appropriate
- # servers.
- #
- whois-redirect = ".*at \\([Ww][Hh][Oo][Ii][Ss]\\.[A-Za-z]*\\.[Nn][Ee][Tt]\\)";
- whois-redirect = ".* \\([Rr]+[Ww][Hh][Oo][Ii][Ss]\\.[A-Za-z]*\\.[Nn][Ee][Tt]\\) \\([0-9]*\\)";
- whois-redirect = ".* r?whois://\\([^:]*\\):?\\([0-9]*\\)?/?";
- }
-
- "whois\\.ncst\\.ernet\\.in" {
- # query-format defines how to format a whois query.
- # The special variable $* will be replaced by
- # the query as specified by the user.
- query-format = "domain $*";
- }
-
- ".*\\.connect\\.com\\.au" {
- #
- # Referals from the net.au whois server.
- #
- whois-redirect = ".*referto: whois -h \\([^ ]*\\) -p \\([0-9]*\\)";
- }
-
- "whois\\.co\\.za" {
- http = "true";
- http-method = "GET";
- http-action = "/cgi-bin/whois.sh";
- form-element = "Domain"; # element
- }
-
- "www\\.nic\\.es" {
- http = "true";
- http-method = "POST";
- http-action = "/cgi-bin/consulta.whois";
- form-element = "key";
- form-extra = "list=Dominios&tipo=procesar"; # Other elements
- }
-
- "www\\.nic\\.tt" {
- http = "true";
- http-method = "POST";
- http-action = "/cgi-bin/search.pl";
- form-element = "name";
- }
-
- "www\\.um\\.edu\\.mt" {
- http = "true";
- http-method = "GET";
- http-action = "/cgi-bin/nic/whois";
- form-element = "domain";
- }
-
- "www\\.gt" {
- http = "true";
- http-method = "GET";
- http-action = "/cgi-bin/whois.cgi";
- form-element = "domain";
- }
-
- # This uses an advanced query using the query-format syntax.
- # query-format cannot be combined with form-element or form-extra.
- "www\\.dns\\.hr" {
- http = "true";
- http-method = "POST";
- http-action = "/asp/trazidomenu.asp";
- query-format = "Upit=${+2}"; # All but last domain segment
- }
-
- "whois\\.offshore\\.ai" {
- http = "true";
- http-method = "POST";
- http-action = "/cgi-bin/whois.pl";
- form-element = "domain-name";
- }
-
- "www\\.io\\.io" {
- http = "true";
- http-method = "GET";
- http-action = "/cgi-bin/whois";
- form-element = "query";
- }
-
- "www\\.nic\\.ec" {
- http = "true";
- http-method = "GET";
- http-action = "/consulta/whois.asp";
- form-element = "dominio";
- }
-
- "www\\.nic\\.gi" {
- http = "true"; # At least, I can't connect on port 43
- http-method = "POST";
- http-action = "/whois/";
- form-element = "lookup";
- }
-
- "www\\.nic\\.kz" {
- # whois.nic.kz exists but wasn't checkable
- http = "true";
- http-method = "GET";
- http-action = "/cgi-bin/whois";
- form-element = "query";
- }
-
- "www\\.nic\\.bi" {
- http = "true";
- http-method = "POST";
- http-action = "/cgi-bin/whoisbi.pl"; # Formatting problems in Lynx
- form-element = "DOMAINWHOIS";
- }
-
- "www\\.nic\\.cg" {
- http = "true";
- http-method = "POST";
- http-action = "/cgi-bin/whoiscg.pl"; # Formatting problems in Lynx
- form-element = "DOMAINWHOIS";
- }
-
- "www\\.nic\\.rw" {
- http = "true";
- http-method = "POST";
- http-action = "/cgi-bin/whoisrw.pl"; # Formatting problems in Lynx
- form-element = "DOMAINWHOIS";
- }
-
- "www\\.tarsus\\.net" {
- http = "true";
- http-method = "POST";
- http-action = "/whois/NameSearch.asp";
- form-element = "searchfor";
- }
-
- "pknic\\.net\\.pk" {
- http = "true";
- http-method = "POST";
- http-action = "/cgi-bin/pknic-db/display.html";
- form-element = "name";
- }
-
- "www\\.noc\\.uz" {
- http = "true";
- http-method = "POST";
- http-action = "/whois.php4";
- form-element = "dname";
- }
-
- "www\\.nic\\.vi" {
- http = "true";
- http-method = "POST";
- http-action = "/whois.asp";
- form-element = "text1";
- }
-
- "www\\.vnnic\\.net\\.vn" {
- http = "true";
- http-method = "GET";
- http-action = "/dk_tenmien/jsp/whois/whoisdomain_detail.jsp";
- form-element = "type";
- }
-
- "dns\\.antel\\.net\\.uy" {
- http = "true";
- http-method = "POST";
- http-action = "/public-servlets/buscarDominio";
- form-element = "nomReg";
- }
-
- "www\\.nic\\.tg" {
- http = "true";
- http-method = "GET";
- http-action = "/moteur/info_dom.php";
- form-element = "domaine";
- }
-
*** 129 LINES SKIPPED ***