Skip to content
This repository was archived by the owner on Feb 3, 2024. It is now read-only.

Commit 81810ca

Browse files
authored
Merge pull request #323 from mboot-github/master
sync from WhoisDomain and new testdata
2 parents c7b01b6 + 9672875 commit 81810ca

File tree

26 files changed

+42
-46
lines changed

26 files changed

+42
-46
lines changed

testdata/example.com/output

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ registrant_country str ''
77
creation_date datetime.datetime 1992-01-01 00:00:00
88
expiration_date NoneType None
99
last_updated NoneType None
10-
status str ''
11-
statuses list ['']
1210
dnssec bool False
11+
status str ''
12+
statuses list []
1313
name_servers list []
1414
registrant str ''
15-
emails list ['']
15+
emails list []

testdata/example.net/nameservers

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
example.net name server b.iana-servers.net.
21
example.net name server a.iana-servers.net.
2+
example.net name server b.iana-servers.net.

testdata/example.net/output

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ registrant_country str ''
77
creation_date datetime.datetime 1992-01-01 00:00:00
88
expiration_date NoneType None
99
last_updated NoneType None
10-
status str ''
11-
statuses list ['']
1210
dnssec bool False
11+
status str ''
12+
statuses list []
1313
name_servers list []
1414
registrant str ''
15-
emails list ['']
15+
emails list []

testdata/example.org/input

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Domain Name: example.org
44
Registry Domain ID: 13a1800564ae4cf589c9f5723a630958-LROR
55
Registrar WHOIS Server:
66
Registrar URL:
7-
Updated Date: 2022-10-14T04:00:28Z
7+
Updated Date: 2023-05-23T17:10:38Z
88
Creation Date: 1995-08-31T04:00:00Z
99
Registry Expiry Date: 2023-08-30T04:00:00Z
1010
Registrar: ICANN
@@ -58,7 +58,7 @@ Name Server: a.iana-servers.net
5858
Name Server: b.iana-servers.net
5959
DNSSEC: signedDelegation
6060
URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/
61-
>>> Last update of WHOIS database: 2023-04-18T08:02:35Z <<<
61+
>>> Last update of WHOIS database: 2023-07-12T08:37:43Z <<<
6262

6363
For more information on Whois status codes, please visit https://icann.org/epp
6464

testdata/example.org/nameservers

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
example.org name server b.iana-servers.net.
21
example.org name server a.iana-servers.net.
2+
example.org name server b.iana-servers.net.

testdata/example.org/output

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ registrant_country str 'US'
77
creation_date datetime.datetime 1995-08-31 04:00:00
88
expiration_date datetime.datetime 2023-08-30 04:00:00
99
last_updated NoneType None
10+
dnssec bool True
1011
status str 'serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited'
1112
statuses list ['serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited', 'serverRenewProhibited https://icann.org/epp#serverRenewProhibited', 'serverTransferProhibited https://icann.org/epp#serverTransferProhibited', 'serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited']
12-
dnssec bool True
1313
name_servers list ['a.iana-servers.net', 'b.iana-servers.net']
1414
registrant str 'ICANN'
15-
emails list ['']
15+
emails list []

testdata/hello.xyz/input

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Billing Email: Please query the RDDS service of the Registrar of Record identifi
2323
Registrar Abuse Contact Email: [email protected]
2424
Registrar Abuse Contact Phone: +1.9854014545
2525
URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/
26-
>>> Last update of WHOIS database: 2023-04-18T08:03:06.0Z <<<
26+
>>> Last update of WHOIS database: 2023-07-12T08:36:58.0Z <<<
2727

2828
For more information on Whois status codes, please visit https://icann.org/epp
2929

testdata/hello.xyz/output

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ registrant_country str 'IS'
77
creation_date datetime.datetime 2014-03-20 15:01:22
88
expiration_date datetime.datetime 2024-03-20 23:59:59
99
last_updated datetime.datetime 2023-03-14 09:24:32
10+
dnssec bool False
1011
status str 'clientTransferProhibited https://icann.org/epp#clientTransferProhibited'
1112
statuses list ['clientTransferProhibited https://icann.org/epp#clientTransferProhibited']
12-
dnssec bool False
1313
name_servers list ['dns1.registrar-servers.com', 'dns2.registrar-servers.com']
1414
registrant str 'Privacy service provided by Withheld for Privacy ehf'
1515
emails list ['[email protected]']

testdata/make_testdata.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ makeDataForDomain()
3737
tee "./$str/input"
3838

3939
# dump the expected output as output
40-
../bin/test2.py -d "$str" |
40+
../test2.py -d "$str" |
4141
tee "./$str/output"
4242

4343
# dump the nameservers via host

testdata/meta.co.jp/input

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ p. [Name Server] ns.meta.co.jp
1616
p. [Name Server] ns2.meta.co.jp
1717
p. [Name Server] ns2.sphere.ad.jp
1818
s. [Signing Key]
19-
[State] Connected (2023/04/30)
19+
[State] Connected (2024/04/30)
2020
[Registered Date] 1994/04/01
2121
[Connected Date] 1994/12/01
22-
[Last Update] 2022/05/01 01:02:20 (JST)
22+
[Last Update] 2023/05/01 01:02:23 (JST)
2323

0 commit comments

Comments
 (0)