whois 4.0.3 → 4.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +2 -2
- data/data/tld.json +61 -55
- data/lib/whois/server/adapters/afilias.rb +4 -4
- data/lib/whois/server/adapters/verisign.rb +3 -5
- data/lib/whois/version.rb +1 -1
- data/whois.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17c950644c8006de6c675483b3a74f60f6c2ef64
|
4
|
+
data.tar.gz: 7f2105d0c5a81cd57a893db0e7c6ac3711604b42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cab3d1d29ffa998b6289a1a863f7eda3f6ca1b62cd61d8a5ede07b8ae808baaed34c1f499d0550ff3df0f1c545e48d9fededc49ad6084ed056c2bf30036f5009
|
7
|
+
data.tar.gz: ceec77733cc0c8d33d554e86cbbfaefc603e1ad4e03ee270e1c230344247d262891abbd4d3d2221611b857d2bf1e4efb57f611429d115e5c5b0308ee7fad8a55
|
data/CHANGELOG.md
CHANGED
@@ -2,21 +2,31 @@
|
|
2
2
|
|
3
3
|
This project uses [Semantic Versioning 2.0.0](http://semver.org/).
|
4
4
|
|
5
|
+
|
6
|
+
#### Release 4.0.4
|
7
|
+
|
8
|
+
- SERVER: Added .MERCKMSD
|
9
|
+
- SERVER: Updated .KOSHER, .LDS, .BESTBUY, .DUNLOP, .GOODYEAR, .TVS, .BNL, .HOMEDEPOT, .HUGHES, .IVECO, .LAMER, .LATINO, .LOCKER, .METLIFE, .MOBILE, .NEWHOLLAND, .OLLO, .ORIGINS, .OTT, .PHONE, .PNC, .SBI, .SCHOLARSHIPS, .SLING, .STATEBANK, .THD, .UPS, .WOLTERSKLUWER, .XN--NQV7FS00EMA, .DELTA, .STAR, .ALLY, .BCG, .BLOCKBUSTER, .CASE, .CASEIH, .CLINIQUE, .CRUISE, .CYOU, .DATA, .DISH, .DOT, .DTV, .FEDEX, .FERRARI, .GALLUP, .HELSINKI, .ICBC, .MASERATI, .MCKINSEY, .MONSTER, .MORMON, .XN, .XN
|
10
|
+
|
11
|
+
|
5
12
|
#### Release 4.0.3
|
6
13
|
|
7
14
|
- FIXED: Updated Verisign adapter to properly detect the new label for referral servers (GH-559)
|
8
15
|
|
16
|
+
|
9
17
|
#### Release 4.0.2
|
10
18
|
|
11
19
|
- SERVER: Added .AFRICA, .XN--MGBAI9AZGQP6J, .FUN, .RMIT, .HOSPITAL, .BOSTON, .DATA, .MOBILE, .PHONE, .HAIR, .LADBROKES, .CATHOLIC, .XN--80AQECDR1A, .XN--MGBI4ECEXP, .XN--TIQ49XQYJ, .RUGBY, .HOTELS, .GROCERY, .XN--MGBAAKC7DVF, .MAP, .PHD, .SEARCH, .XN--2SCRJ9C, .XN--45BR5CYL, .XN--H2BREG3EVE, .XN--H2BRJ9C8C, .XN--MGBBH1A, .XN--MGBGU82A, .XN--RVC1E0AM3E, .ETISALAT
|
12
20
|
- SERVER: Updated .LINK (GH-543), .AR, .MQ, .ARCHI, .BIO, .SKY, .GF, .KG, .STORAGE, .BIBLE
|
13
21
|
- SERVER: Deleted .IINET, .MUTUELLE, .FLSMIDTH, .MTPC
|
14
22
|
|
23
|
+
|
15
24
|
#### Release 4.0.1
|
16
25
|
|
17
26
|
- SERVER: Added .FREE, .HK.COM, .HK.ORG, .LTD.HK, .INC.HK, .BOX, .CRUISE, .FOOD, .JIO, .MOTO, .RELIANCE, .RIL
|
18
27
|
- SERVER: Updated .ONLINE, .SITE, .STC, .STCGROUP
|
19
28
|
|
29
|
+
|
20
30
|
#### Release 4.0.0
|
21
31
|
|
22
32
|
The WHOIS parsers are no longer part of this repository, and they have been extracted into a separate repository at https://github.com/weppos/whois-parser.
|
data/README.md
CHANGED
@@ -9,9 +9,9 @@ This library was extracted from [RoboWhois](https://robowhois.com/) and [RoboDom
|
|
9
9
|
|
10
10
|
## Donate a coffee
|
11
11
|
|
12
|
-
<
|
12
|
+
<tt>Whois</tt> is free software, but it requires a lot of coffee to write, test, and distribute it. You can support the development by [donating a coffee](https://whoisrb.org/contribute/#donate).
|
13
13
|
|
14
|
-
|
14
|
+
Any amount is greatly appreciated.
|
15
15
|
|
16
16
|
|
17
17
|
## Features
|
data/data/tld.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_": {
|
3
3
|
"schema": "2",
|
4
|
-
"updated": "2017-07-
|
4
|
+
"updated": "2017-07-29 16:34:59 UTC"
|
5
5
|
},
|
6
6
|
"aaa": {
|
7
7
|
"_type": "newgtld",
|
@@ -204,7 +204,7 @@
|
|
204
204
|
"ally": {
|
205
205
|
"_group": "afiliassrs",
|
206
206
|
"_type": "newgtld",
|
207
|
-
"host": "whois.
|
207
|
+
"host": "whois.nic.ally"
|
208
208
|
},
|
209
209
|
"alsace": {
|
210
210
|
"_group": "nicfr",
|
@@ -517,7 +517,7 @@
|
|
517
517
|
"bcg": {
|
518
518
|
"_group": "afiliassrs",
|
519
519
|
"_type": "newgtld",
|
520
|
-
"host": "whois.
|
520
|
+
"host": "whois.nic.bcg"
|
521
521
|
},
|
522
522
|
"bcn": {
|
523
523
|
"_type": "newgtld",
|
@@ -559,7 +559,7 @@
|
|
559
559
|
"bestbuy": {
|
560
560
|
"_group": "afiliassrs",
|
561
561
|
"_type": "newgtld",
|
562
|
-
"host": "whois.
|
562
|
+
"host": "whois.nic.bestbuy"
|
563
563
|
},
|
564
564
|
"bet": {
|
565
565
|
"_group": "afilias",
|
@@ -632,7 +632,7 @@
|
|
632
632
|
"blockbuster": {
|
633
633
|
"_group": "afiliassrs",
|
634
634
|
"_type": "newgtld",
|
635
|
-
"host": "whois.
|
635
|
+
"host": "whois.nic.blockbuster"
|
636
636
|
},
|
637
637
|
"blog": {
|
638
638
|
"_type": "newgtld",
|
@@ -666,7 +666,7 @@
|
|
666
666
|
"bnl": {
|
667
667
|
"_group": "afiliassrs",
|
668
668
|
"_type": "newgtld",
|
669
|
-
"host": "whois.
|
669
|
+
"host": "whois.nic.bnl"
|
670
670
|
},
|
671
671
|
"bnpparibas": {
|
672
672
|
"_group": "afiliassrs",
|
@@ -952,12 +952,12 @@
|
|
952
952
|
"case": {
|
953
953
|
"_group": "afiliassrs",
|
954
954
|
"_type": "newgtld",
|
955
|
-
"host": "whois.
|
955
|
+
"host": "whois.nic.case"
|
956
956
|
},
|
957
957
|
"caseih": {
|
958
958
|
"_group": "afiliassrs",
|
959
959
|
"_type": "newgtld",
|
960
|
-
"host": "whois.
|
960
|
+
"host": "whois.nic.caseih"
|
961
961
|
},
|
962
962
|
"cash": {
|
963
963
|
"_group": "donuts",
|
@@ -1162,7 +1162,7 @@
|
|
1162
1162
|
"clinique": {
|
1163
1163
|
"_group": "afiliassrs",
|
1164
1164
|
"_type": "newgtld",
|
1165
|
-
"host": "whois.
|
1165
|
+
"host": "whois.nic.clinique"
|
1166
1166
|
},
|
1167
1167
|
"clothing": {
|
1168
1168
|
"_group": "donuts",
|
@@ -1461,7 +1461,7 @@
|
|
1461
1461
|
"cruise": {
|
1462
1462
|
"_group": "afiliassrs",
|
1463
1463
|
"_type": "newgtld",
|
1464
|
-
"host": "whois.
|
1464
|
+
"host": "whois.nic.cruise"
|
1465
1465
|
},
|
1466
1466
|
"cruises": {
|
1467
1467
|
"_group": "donuts",
|
@@ -1501,7 +1501,7 @@
|
|
1501
1501
|
"cyou": {
|
1502
1502
|
"_group": "afiliassrs",
|
1503
1503
|
"_type": "newgtld",
|
1504
|
-
"host": "whois.
|
1504
|
+
"host": "whois.nic.cyou"
|
1505
1505
|
},
|
1506
1506
|
"cz": {
|
1507
1507
|
"host": "whois.nic.cz"
|
@@ -1524,7 +1524,7 @@
|
|
1524
1524
|
"data": {
|
1525
1525
|
"_group": "afiliassrs",
|
1526
1526
|
"_type": "newgtld",
|
1527
|
-
"host": "whois.
|
1527
|
+
"host": "whois.nic.data"
|
1528
1528
|
},
|
1529
1529
|
"date": {
|
1530
1530
|
"_type": "newgtld",
|
@@ -1600,7 +1600,7 @@
|
|
1600
1600
|
"delta": {
|
1601
1601
|
"_group": "afiliassrs",
|
1602
1602
|
"_type": "newgtld",
|
1603
|
-
"host": "whois.
|
1603
|
+
"host": "whois.nic.delta"
|
1604
1604
|
},
|
1605
1605
|
"democrat": {
|
1606
1606
|
"_group": "unitedtld",
|
@@ -1672,7 +1672,7 @@
|
|
1672
1672
|
"dish": {
|
1673
1673
|
"_group": "afiliassrs",
|
1674
1674
|
"_type": "newgtld",
|
1675
|
-
"host": "whois.
|
1675
|
+
"host": "whois.nic.dish"
|
1676
1676
|
},
|
1677
1677
|
"diy": {
|
1678
1678
|
"_type": "newgtld",
|
@@ -1733,7 +1733,7 @@
|
|
1733
1733
|
"dot": {
|
1734
1734
|
"_group": "afiliassrs",
|
1735
1735
|
"_type": "newgtld",
|
1736
|
-
"host": "whois.
|
1736
|
+
"host": "whois.nic.dot"
|
1737
1737
|
},
|
1738
1738
|
"download": {
|
1739
1739
|
"_type": "newgtld",
|
@@ -1747,7 +1747,7 @@
|
|
1747
1747
|
"dtv": {
|
1748
1748
|
"_group": "afiliassrs",
|
1749
1749
|
"_type": "newgtld",
|
1750
|
-
"host": "whois.
|
1750
|
+
"host": "whois.nic.dtv"
|
1751
1751
|
},
|
1752
1752
|
"dubai": {
|
1753
1753
|
"_type": "newgtld",
|
@@ -1760,7 +1760,7 @@
|
|
1760
1760
|
"dunlop": {
|
1761
1761
|
"_group": "afiliassrs",
|
1762
1762
|
"_type": "newgtld",
|
1763
|
-
"host": "whois.
|
1763
|
+
"host": "whois.nic.dunlop"
|
1764
1764
|
},
|
1765
1765
|
"duns": {
|
1766
1766
|
"_type": "newgtld",
|
@@ -2006,7 +2006,7 @@
|
|
2006
2006
|
"fedex": {
|
2007
2007
|
"_group": "afiliassrs",
|
2008
2008
|
"_type": "newgtld",
|
2009
|
-
"host": "whois.
|
2009
|
+
"host": "whois.nic.fedex"
|
2010
2010
|
},
|
2011
2011
|
"feedback": {
|
2012
2012
|
"_group": "centralnic",
|
@@ -2016,7 +2016,7 @@
|
|
2016
2016
|
"ferrari": {
|
2017
2017
|
"_group": "afiliassrs",
|
2018
2018
|
"_type": "newgtld",
|
2019
|
-
"host": "whois.
|
2019
|
+
"host": "whois.nic.ferrari"
|
2020
2020
|
},
|
2021
2021
|
"ferrero": {
|
2022
2022
|
"_type": "newgtld",
|
@@ -2320,7 +2320,7 @@
|
|
2320
2320
|
"gallup": {
|
2321
2321
|
"_group": "afiliassrs",
|
2322
2322
|
"_type": "newgtld",
|
2323
|
-
"host": "whois.
|
2323
|
+
"host": "whois.nic.gallup"
|
2324
2324
|
},
|
2325
2325
|
"game": {
|
2326
2326
|
"_group": "uniregistry",
|
@@ -2500,7 +2500,7 @@
|
|
2500
2500
|
"goodyear": {
|
2501
2501
|
"_group": "afiliassrs",
|
2502
2502
|
"_type": "newgtld",
|
2503
|
-
"host": "whois.
|
2503
|
+
"host": "whois.nic.goodyear"
|
2504
2504
|
},
|
2505
2505
|
"goog": {
|
2506
2506
|
"_group": "google",
|
@@ -2664,7 +2664,7 @@
|
|
2664
2664
|
"helsinki": {
|
2665
2665
|
"_group": "afiliassrs",
|
2666
2666
|
"_type": "newgtld",
|
2667
|
-
"host": "whois.
|
2667
|
+
"host": "whois.nic.helsinki"
|
2668
2668
|
},
|
2669
2669
|
"here": {
|
2670
2670
|
"_group": "google",
|
@@ -2742,7 +2742,7 @@
|
|
2742
2742
|
"homedepot": {
|
2743
2743
|
"_group": "afiliassrs",
|
2744
2744
|
"_type": "newgtld",
|
2745
|
-
"host": "whois.
|
2745
|
+
"host": "whois.nic.homedepot"
|
2746
2746
|
},
|
2747
2747
|
"homegoods": {
|
2748
2748
|
"_type": "newgtld",
|
@@ -2831,7 +2831,7 @@
|
|
2831
2831
|
"hughes": {
|
2832
2832
|
"_group": "afiliassrs",
|
2833
2833
|
"_type": "newgtld",
|
2834
|
-
"host": "whois.
|
2834
|
+
"host": "whois.nic.hughes"
|
2835
2835
|
},
|
2836
2836
|
"hyatt": {
|
2837
2837
|
"_type": "newgtld",
|
@@ -2848,7 +2848,7 @@
|
|
2848
2848
|
"icbc": {
|
2849
2849
|
"_group": "afiliassrs",
|
2850
2850
|
"_type": "newgtld",
|
2851
|
-
"host": "whois.
|
2851
|
+
"host": "whois.nic.icbc"
|
2852
2852
|
},
|
2853
2853
|
"ice": {
|
2854
2854
|
"_type": "newgtld",
|
@@ -3018,7 +3018,7 @@
|
|
3018
3018
|
"iveco": {
|
3019
3019
|
"_group": "afiliassrs",
|
3020
3020
|
"_type": "newgtld",
|
3021
|
-
"host": "whois.
|
3021
|
+
"host": "whois.nic.iveco"
|
3022
3022
|
},
|
3023
3023
|
"iwc": {
|
3024
3024
|
"_type": "newgtld",
|
@@ -3213,7 +3213,7 @@
|
|
3213
3213
|
"kosher": {
|
3214
3214
|
"_group": "afiliassrs",
|
3215
3215
|
"_type": "newgtld",
|
3216
|
-
"host": "whois.
|
3216
|
+
"host": "whois.nic.kosher"
|
3217
3217
|
},
|
3218
3218
|
"kp": {
|
3219
3219
|
"adapter": "none"
|
@@ -3275,7 +3275,7 @@
|
|
3275
3275
|
"lamer": {
|
3276
3276
|
"_group": "afiliassrs",
|
3277
3277
|
"_type": "newgtld",
|
3278
|
-
"host": "whois.
|
3278
|
+
"host": "whois.nic.lamer"
|
3279
3279
|
},
|
3280
3280
|
"lancaster": {
|
3281
3281
|
"_group": "nicfr",
|
@@ -3316,7 +3316,7 @@
|
|
3316
3316
|
"latino": {
|
3317
3317
|
"_group": "afiliassrs",
|
3318
3318
|
"_type": "newgtld",
|
3319
|
-
"host": "whois.
|
3319
|
+
"host": "whois.nic.latino"
|
3320
3320
|
},
|
3321
3321
|
"latrobe": {
|
3322
3322
|
"_type": "newgtld",
|
@@ -3343,7 +3343,7 @@
|
|
3343
3343
|
"lds": {
|
3344
3344
|
"_group": "afiliassrs",
|
3345
3345
|
"_type": "newgtld",
|
3346
|
-
"host": "whois.
|
3346
|
+
"host": "whois.nic.lds"
|
3347
3347
|
},
|
3348
3348
|
"lease": {
|
3349
3349
|
"_group": "donuts",
|
@@ -3470,7 +3470,7 @@
|
|
3470
3470
|
"locker": {
|
3471
3471
|
"_group": "afiliassrs",
|
3472
3472
|
"_type": "newgtld",
|
3473
|
-
"host": "whois.
|
3473
|
+
"host": "whois.nic.locker"
|
3474
3474
|
},
|
3475
3475
|
"locus": {
|
3476
3476
|
"_type": "newgtld",
|
@@ -3629,7 +3629,7 @@
|
|
3629
3629
|
"maserati": {
|
3630
3630
|
"_group": "afiliassrs",
|
3631
3631
|
"_type": "newgtld",
|
3632
|
-
"host": "whois.
|
3632
|
+
"host": "whois.nic.maserati"
|
3633
3633
|
},
|
3634
3634
|
"mattel": {
|
3635
3635
|
"_type": "newgtld",
|
@@ -3654,7 +3654,7 @@
|
|
3654
3654
|
"mckinsey": {
|
3655
3655
|
"_group": "afiliassrs",
|
3656
3656
|
"_type": "newgtld",
|
3657
|
-
"host": "whois.
|
3657
|
+
"host": "whois.nic.mckinsey"
|
3658
3658
|
},
|
3659
3659
|
"md": {
|
3660
3660
|
"host": "whois.nic.md"
|
@@ -3703,10 +3703,14 @@
|
|
3703
3703
|
"_type": "newgtld",
|
3704
3704
|
"adapter": "none"
|
3705
3705
|
},
|
3706
|
+
"merckmsd": {
|
3707
|
+
"_type": "newgtld",
|
3708
|
+
"adapter": "none"
|
3709
|
+
},
|
3706
3710
|
"metlife": {
|
3707
3711
|
"_group": "afiliassrs",
|
3708
3712
|
"_type": "newgtld",
|
3709
|
-
"host": "whois.
|
3713
|
+
"host": "whois.nic.metlife"
|
3710
3714
|
},
|
3711
3715
|
"mg": {
|
3712
3716
|
"host": "whois.nic.mg"
|
@@ -3780,7 +3784,7 @@
|
|
3780
3784
|
"mobile": {
|
3781
3785
|
"_group": "afiliassrs",
|
3782
3786
|
"_type": "newgtld",
|
3783
|
-
"host": "whois.
|
3787
|
+
"host": "whois.nic.mobile"
|
3784
3788
|
},
|
3785
3789
|
"mobily": {
|
3786
3790
|
"_type": "newgtld",
|
@@ -3817,7 +3821,7 @@
|
|
3817
3821
|
"monster": {
|
3818
3822
|
"_group": "afiliassrs",
|
3819
3823
|
"_type": "newgtld",
|
3820
|
-
"host": "whois.
|
3824
|
+
"host": "whois.nic.monster"
|
3821
3825
|
},
|
3822
3826
|
"montblanc": {
|
3823
3827
|
"_type": "newgtld",
|
@@ -3831,7 +3835,7 @@
|
|
3831
3835
|
"mormon": {
|
3832
3836
|
"_group": "afiliassrs",
|
3833
3837
|
"_type": "newgtld",
|
3834
|
-
"host": "whois.
|
3838
|
+
"host": "whois.nic.mormon"
|
3835
3839
|
},
|
3836
3840
|
"mortgage": {
|
3837
3841
|
"_group": "rightside",
|
@@ -4030,7 +4034,7 @@
|
|
4030
4034
|
"newholland": {
|
4031
4035
|
"_group": "afiliassrs",
|
4032
4036
|
"_type": "newgtld",
|
4033
|
-
"host": "whois.
|
4037
|
+
"host": "whois.nic.newholland"
|
4034
4038
|
},
|
4035
4039
|
"news": {
|
4036
4040
|
"_group": "rightside",
|
@@ -4201,7 +4205,7 @@
|
|
4201
4205
|
"ollo": {
|
4202
4206
|
"_group": "afiliassrs",
|
4203
4207
|
"_type": "newgtld",
|
4204
|
-
"host": "whois.
|
4208
|
+
"host": "whois.nic.ollo"
|
4205
4209
|
},
|
4206
4210
|
"om": {
|
4207
4211
|
"host": "whois.registry.om"
|
@@ -4291,7 +4295,7 @@
|
|
4291
4295
|
"origins": {
|
4292
4296
|
"_group": "afiliassrs",
|
4293
4297
|
"_type": "newgtld",
|
4294
|
-
"host": "whois.
|
4298
|
+
"host": "whois.nic.origins"
|
4295
4299
|
},
|
4296
4300
|
"osaka": {
|
4297
4301
|
"_type": "newgtld",
|
@@ -4304,7 +4308,7 @@
|
|
4304
4308
|
"ott": {
|
4305
4309
|
"_group": "afiliassrs",
|
4306
4310
|
"_type": "newgtld",
|
4307
|
-
"host": "whois.
|
4311
|
+
"host": "whois.nic.ott"
|
4308
4312
|
},
|
4309
4313
|
"ovh": {
|
4310
4314
|
"_group": "nicfr",
|
@@ -4409,7 +4413,7 @@
|
|
4409
4413
|
"phone": {
|
4410
4414
|
"_group": "afiliassrs",
|
4411
4415
|
"_type": "newgtld",
|
4412
|
-
"host": "whois.
|
4416
|
+
"host": "whois.nic.phone"
|
4413
4417
|
},
|
4414
4418
|
"photo": {
|
4415
4419
|
"_group": "uniregistry",
|
@@ -4522,7 +4526,7 @@
|
|
4522
4526
|
"pnc": {
|
4523
4527
|
"_group": "afiliassrs",
|
4524
4528
|
"_type": "newgtld",
|
4525
|
-
"host": "whois.
|
4529
|
+
"host": "whois.nic.pnc"
|
4526
4530
|
},
|
4527
4531
|
"pohl": {
|
4528
4532
|
"_group": "ksregistry",
|
@@ -4975,7 +4979,7 @@
|
|
4975
4979
|
"sbi": {
|
4976
4980
|
"_group": "afiliassrs",
|
4977
4981
|
"_type": "newgtld",
|
4978
|
-
"host": "whois.
|
4982
|
+
"host": "whois.nic.sbi"
|
4979
4983
|
},
|
4980
4984
|
"sbs": {
|
4981
4985
|
"_type": "newgtld",
|
@@ -5005,7 +5009,7 @@
|
|
5005
5009
|
"scholarships": {
|
5006
5010
|
"_group": "afiliassrs",
|
5007
5011
|
"_type": "newgtld",
|
5008
|
-
"host": "whois.
|
5012
|
+
"host": "whois.nic.scholarships"
|
5009
5013
|
},
|
5010
5014
|
"school": {
|
5011
5015
|
"_group": "donuts",
|
@@ -5232,7 +5236,7 @@
|
|
5232
5236
|
"sling": {
|
5233
5237
|
"_group": "afiliassrs",
|
5234
5238
|
"_type": "newgtld",
|
5235
|
-
"host": "whois.
|
5239
|
+
"host": "whois.nic.sling"
|
5236
5240
|
},
|
5237
5241
|
"sm": {
|
5238
5242
|
"host": "whois.nic.sm"
|
@@ -5351,7 +5355,7 @@
|
|
5351
5355
|
"star": {
|
5352
5356
|
"_group": "afiliassrs",
|
5353
5357
|
"_type": "newgtld",
|
5354
|
-
"host": "whois.
|
5358
|
+
"host": "whois.nic.star"
|
5355
5359
|
},
|
5356
5360
|
"starhub": {
|
5357
5361
|
"_type": "newgtld",
|
@@ -5360,7 +5364,7 @@
|
|
5360
5364
|
"statebank": {
|
5361
5365
|
"_group": "afiliassrs",
|
5362
5366
|
"_type": "newgtld",
|
5363
|
-
"host": "whois.
|
5367
|
+
"host": "whois.nic.statebank"
|
5364
5368
|
},
|
5365
5369
|
"statefarm": {
|
5366
5370
|
"_type": "newgtld",
|
@@ -5599,7 +5603,7 @@
|
|
5599
5603
|
"thd": {
|
5600
5604
|
"_group": "afiliassrs",
|
5601
5605
|
"_type": "newgtld",
|
5602
|
-
"host": "whois.
|
5606
|
+
"host": "whois.nic.thd"
|
5603
5607
|
},
|
5604
5608
|
"theater": {
|
5605
5609
|
"_group": "donuts",
|
@@ -5804,7 +5808,7 @@
|
|
5804
5808
|
"tvs": {
|
5805
5809
|
"_group": "afiliassrs",
|
5806
5810
|
"_type": "newgtld",
|
5807
|
-
"host": "whois.
|
5811
|
+
"host": "whois.nic.tvs"
|
5808
5812
|
},
|
5809
5813
|
"tw": {
|
5810
5814
|
"host": "whois.twnic.net.tw"
|
@@ -5891,7 +5895,7 @@
|
|
5891
5895
|
"ups": {
|
5892
5896
|
"_group": "afiliassrs",
|
5893
5897
|
"_type": "newgtld",
|
5894
|
-
"host": "whois.
|
5898
|
+
"host": "whois.nic.ups"
|
5895
5899
|
},
|
5896
5900
|
"us": {
|
5897
5901
|
"host": "whois.nic.us"
|
@@ -6189,7 +6193,7 @@
|
|
6189
6193
|
"wolterskluwer": {
|
6190
6194
|
"_group": "afiliassrs",
|
6191
6195
|
"_type": "newgtld",
|
6192
|
-
"host": "whois.
|
6196
|
+
"host": "whois.nic.wolterskluwer"
|
6193
6197
|
},
|
6194
6198
|
"woodside": {
|
6195
6199
|
"_type": "newgtld",
|
@@ -6331,8 +6335,10 @@
|
|
6331
6335
|
"host": "whois.nic.xn--5su34j936bgsg"
|
6332
6336
|
},
|
6333
6337
|
"xn--5tzm5g": {
|
6338
|
+
"_group": "afiliassrs",
|
6334
6339
|
"_type": "newgtld",
|
6335
|
-
"adapter": "none"
|
6340
|
+
"adapter": "none",
|
6341
|
+
"host": "whois.nic.xn--5tzm5g"
|
6336
6342
|
},
|
6337
6343
|
"xn--6frz82g": {
|
6338
6344
|
"_group": "afilias",
|
@@ -6456,7 +6462,7 @@
|
|
6456
6462
|
"xn--estv75g": {
|
6457
6463
|
"_group": "afiliassrs",
|
6458
6464
|
"_type": "newgtld",
|
6459
|
-
"host": "whois.
|
6465
|
+
"host": "whois.nic.xn--estv75g"
|
6460
6466
|
},
|
6461
6467
|
"xn--fct429k": {
|
6462
6468
|
"_group": "amazonregistry",
|
@@ -6705,7 +6711,7 @@
|
|
6705
6711
|
"xn--nqv7fs00ema": {
|
6706
6712
|
"_group": "publicinterestregistry",
|
6707
6713
|
"_type": "newgtld",
|
6708
|
-
"host": "whois.
|
6714
|
+
"host": "whois.nic.xn--nqv7fs00ema"
|
6709
6715
|
},
|
6710
6716
|
"xn--nyqy26a": {
|
6711
6717
|
"_type": "newgtld",
|
@@ -29,7 +29,7 @@ module Whois
|
|
29
29
|
response = query_the_socket(string, host)
|
30
30
|
buffer_append response, host
|
31
31
|
|
32
|
-
if options[:referral] != false && referral = extract_referral(response)
|
32
|
+
if options[:referral] != false && (referral = extract_referral(response))
|
33
33
|
response = query_the_socket(string, referral)
|
34
34
|
buffer_append(response, referral)
|
35
35
|
end
|
@@ -39,9 +39,9 @@ module Whois
|
|
39
39
|
private
|
40
40
|
|
41
41
|
def extract_referral(response)
|
42
|
-
|
43
|
-
|
44
|
-
|
42
|
+
return unless (match = response.match(/Registrar WHOIS Server:(.+?)$/))
|
43
|
+
server = match[match.size - 1].strip
|
44
|
+
server.empty? ? nil : server
|
45
45
|
end
|
46
46
|
|
47
47
|
end
|
@@ -39,11 +39,9 @@ module Whois
|
|
39
39
|
private
|
40
40
|
|
41
41
|
def extract_referral(response)
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
server
|
46
|
-
end
|
42
|
+
return unless (match = response.match(/Registrar WHOIS Server:(.+?)$/))
|
43
|
+
server = match[match.size - 1].strip
|
44
|
+
server.empty? ? nil : server
|
47
45
|
end
|
48
46
|
|
49
47
|
end
|
data/lib/whois/version.rb
CHANGED
data/whois.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: whois 4.0.
|
2
|
+
# stub: whois 4.0.3 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "whois".freeze
|
6
|
-
s.version = "4.0.
|
6
|
+
s.version = "4.0.3"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|
10
10
|
s.authors = ["Simone Carletti".freeze]
|
11
|
-
s.date = "2017-07-
|
11
|
+
s.date = "2017-07-27"
|
12
12
|
s.description = "Whois is an intelligent WHOIS client and parser written in pure Ruby. It can query registry data for IPv4, IPv6 and top level domains, and parse the responses into easy-to-use Ruby objects via the whois-parser library.".freeze
|
13
13
|
s.email = ["weppos@weppos.net".freeze]
|
14
14
|
s.executables = ["whoisrb".freeze]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whois
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simone Carletti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|