Last active
December 11, 2015 12:39
-
-
Save tkfm-yamaguchi/4602380 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* PRE : ubuntu 12.04 distributed jwhois.conf | |
* POST: download from gnu prjct page, add the costomization for japanese servers | |
* > downloaded from : http://cvs.savannah.gnu.org/viewvc/*checkout*/jwhois/jwhois/example/jwhois.conf?revision=1.143 | |
* NOTE: Japanese encoding is "ISO-2022-JP" | |
--- jwhois.conf.bk 2010-11-25 00:39:15.000000000 +0900 | |
+++ jwhois.conf 2013-01-23 14:26:57.966240523 +0900 | |
@@ -17,6 +17,11 @@ | |
type = regex; | |
# | |
+ # Catch ENUM domains | |
+ # | |
+ "\\([0-9]\\.\\)+e164\\.arpa" = "struct enum-blocks"; | |
+ | |
+ # | |
# 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 | |
@@ -105,7 +110,15 @@ | |
"\\.za\\.com$" = "whois.centralnic.net"; | |
"\\.ac$" = "whois.nic.ac"; | |
- "\\.ae$" = "whois.uaenic.ae"; | |
+ "\\.ae$" = "whois.aeda.net.ae"; | |
+ "\\.co\\.ae$" = "whois.aeda.net.ae"; | |
+ "\\.net\\.ae$" = "whois.aeda.net.ae"; | |
+ "\\.org\\.ae$" = "whois.aeda.net.ae"; | |
+ "\\.sch\\.ae$" = "whois.aeda.net.ae"; | |
+ "\\.ac\\.ae$" = "whois.aeda.net.ae"; | |
+ "\\.mil\\.ae$" = "whois.aeda.net.ae"; | |
+ "\\.gov\\.ae$" = "whois.aeda.net.ae"; | |
+ "\\.1\\.7\\.9\\.e164\\.arpa$" = "whois.aeda.net.ae"; | |
"\\.aero$" = "whois.aero"; | |
"\\.af$" = "whois.nic.af"; | |
"\\.ag$" = "whois.nic.ag"; | |
@@ -171,7 +184,7 @@ | |
"\\.fm$" = "www.dot.fm"; | |
"\\.fo$" = "whois.ripe.net"; | |
"\\.fr$" = "whois.nic.fr"; | |
- "\\.gi$" = "www.nic.gi"; | |
+ "\\.gi$" = "whois2.afilias-grs.net"; | |
"\\.gov$" = "whois.nic.gov"; | |
"\\.gg$" = "whois.isles.net"; | |
"\\.gm$" = "whois.ripe.net"; | |
@@ -195,9 +208,10 @@ | |
"\\.is$" = "whois.isnic.is"; | |
"\\.it$" = "whois.nic.it"; | |
"\\.je$" = "whois.isles.net"; | |
+ # ★ | |
"\\.jp$" { | |
whois-server = "whois.jprs.jp"; | |
- query-format = "$* /e"; | |
+ # query-format = "$* /e"; | |
} | |
"\\.kg$" = "whois.domain.kg"; | |
"\\.ki$" = "whois.nic.ki"; | |
@@ -245,6 +259,7 @@ | |
"\\.re$" = "whois.nic.re"; | |
"\\.ro$" = "whois.rotld.ro"; | |
"\\.ru$" = "whois.ripn.net"; | |
+ "\\.rs$" = "whois.rnids.rs"; | |
"\\.rw$" = "www.nic.rw"; | |
"\\.sa$" = "saudinic.net.sa"; | |
"\\.se$" = "whois.iis.se"; | |
@@ -271,7 +286,7 @@ | |
"\\.tt$" = "www.nic.tt"; | |
"\\.tv$" = "whois.nic.tv"; | |
"\\.tw$" = "whois.twnic.net"; | |
- "\\.ua$" = "whois.com.ua"; | |
+ "\\.ua$" = "whois.ua"; | |
"\\.ug$" = "whois.co.ug"; | |
"\\.ac\\.uk$" = "whois.ja.net"; | |
"\\.gov\\.uk$" = "whois.ja.net"; | |
@@ -289,6 +304,7 @@ | |
"\\.vu$" = "www.vunic.vu"; | |
"\\.wf$" = "whois.nic.wf"; | |
"\\.ws$" = "whois.worldsite.ws"; | |
+ "\\.xn--mgbaam7a8h$" = "whois.aeda.net.ae"; | |
"\\.yt$" = "whois.nic.yt"; | |
"\\.yu$" = "whois.ripe.net"; | |
"\\.ac\\.za$" = "whois.ac.za"; | |
@@ -311,6 +327,15 @@ | |
} | |
# | |
+# enum-blocks | |
+# | |
+enum-blocks { | |
+ type = regex; | |
+ | |
+ "\\.9\\.4\\.e164\\.arpa$" = "whois.enum.denic.de"; | |
+} | |
+ | |
+# | |
# 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. | |
# | |
@@ -401,16 +426,13 @@ | |
"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.140.0.0/14" = "whois.nic.or.kr"; | |
"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.114.0.0/16" = "whois.afrinic.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.248.64.0/20" = "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"; | |
@@ -596,13 +618,12 @@ | |
"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:1C00::/22" = "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:4200::/23" = "whois.afrinic.net"; | |
"2001:4400::/23" = "whois.apnic.net"; | |
"2001:4600::/23" = "whois.ripe.net"; | |
"2001:4800::/23" = "whois.arin.net"; | |
@@ -615,21 +636,15 @@ | |
"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"; | |
+ "2400:0000::/12" = "whois.apnic.net"; | |
+ | |
+ "2600:0000::/12" = "whois.arin.net"; | |
"2610:0000::/23" = "whois.arin.net"; | |
+ "2620:0000::/23" = "whois.arin.net"; | |
- "2800:0000::/23" = "whois.lacnic.net"; | |
+ "2800:0000::/12" = "whois.lacnic.net"; | |
- "2A00:0000::/21" = "whois.ripe.net"; | |
- "2A01:0000::/16" = "whois.ripe.net"; | |
+ "2C00:0000::/12" = "whois.afrinic.net"; | |
# | |
# Experimental IPv6 network 6bone (RFC2471) | |
@@ -925,8 +940,19 @@ | |
query-format = "-C UTF-8 -T dn,ace $*"; | |
answer-charset = "UTF-8"; | |
} | |
+ "whois\\.enum\\.denic\\.de" { | |
+ whois-server = "whois.enum.denic.de"; | |
+ query-format = "-C UTF-8 -T dn $*"; | |
+ answer-charset = "UTF-8"; | |
+ } | |
+ # ★ | |
"whois\\.nic\\.ad\\.jp" { | |
- query-format = "$*/e"; | |
+ #query-format = "$*/e"; | |
+ answer-charset = "ISO-2022-JP"; | |
+ } | |
+ # ★ | |
+ "whois\\.jprs\\.jp" { | |
+ answer-charset = "ISO-2022-JP"; | |
} | |
"whois\\.nic\\.ch" { | |
answer-charset = "UTF-8"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment