summaryrefslogtreecommitdiff
path: root/net/jwhois/patches/patch-ac
blob: 897db54d69ebc7364d6a3342ed7790e3b3fa785e (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
$NetBSD: patch-ac,v 1.7 2004/08/17 16:38:11 kleink Exp $

--- example/jwhois.conf.orig	2004-08-17 18:35:14.000000000 +0200
+++ example/jwhois.conf	2004-08-17 18:35:44.000000000 +0200
@@ -55,7 +55,33 @@
 	"^[0-9]+\\.[0-9]+\\.[0-9]+/[0-9]+-[0-9]+$" = "whois.nic.br";
  
 	#
-	# Redirect IPv6 numbers to the correct host
+	# Sub-TLA Assignments
+	# see http://www.iana.org/assignments/ipv6-tla-assignments
+	#
+	"^2001:0?[01][A-F0-9][A-F0-9]:.+" = "whois.iana.org";
+	"^2001:0?[23][A-F0-9][A-F0-9]:.+" = "whois.apnic.net";
+	"^2001:0?[45][A-F0-9][A-F0-9]:.+" = "whois.arin.net";
+	"^2001:0?[67][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
+	"^2001:0?[89][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
+	"^2001:0?[AB][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
+	"^2001:0?[CD][A-F0-9][A-F0-9]:.+" = "whois.apnic.net";
+	"^2001:0?[EF][A-F0-9][A-F0-9]:.+" = "whois.apnic.net";
+	"^2001:1[23][A-F0-9][A-F0-9]:.+" = "whois.lacnic.net";
+	"^2001:1[45][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
+	"^2001:1[67][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
+	"^2001:1[89][A-F0-9][A-F0-9]:.+" = "whois.arin.net";
+	"^2001:1[AB][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
+	"^2001:1[CD][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
+	"^2001:1[EF][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
+	"^2001:2[A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
+	"^2001:3[A-B0-9][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
+	"^2001:4[01][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
+	"^2001:4[23][A-F0-9][A-F0-9]:.+" = "whois.arin.net";
+	"^2001:4[45][A-F0-9][A-F0-9]:.+" = "whois.apnic.net";
+	"^2001:4[67][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
+
+	#
+	# Historical IPv6 catch-all
 	#
 	".*:.*" = "whois.6bone.net";
 
@@ -371,6 +397,8 @@
 	"80.0.0.0/8" = "whois.ripe.net";
 	"81.0.0.0/8" = "whois.ripe.net";
 	"82.0.0.0/8" = "whois.ripe.net";
+	"83.0.0.0/8" = "whois.ripe.net";
+	"84.0.0.0/8" = "whois.ripe.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";