@@ -501,45 +501,6 @@ def test_ie_parse(self):
501501 }
502502 self ._parse_and_compare ("rte.ie" , data , expected_results )
503503
504- def test_nl_parse (self ):
505- data = """
506- Domain name: utwente.nl
507- Status: active
508-
509- Registrar:
510- Universiteit Twente
511- Drienerlolaan 5
512- 7522NB ENSCHEDE
513- Netherlands
514-
515- Abuse Contact:
516-
517- DNSSEC: yes
518-
519- Domain nameservers:
520- ns3.utwente.nl 131.155.0.37
521- ns1.utwente.nl 130.89.1.2
522- ns1.utwente.nl 2001:67c:2564:a102::3:1
523- ns2.utwente.nl 130.89.1.3
524- ns2.utwente.nl 2001:67c:2564:a102::3:2
525-
526- Record maintained by: NL Domain Registry
527- """
528- expected_results = {
529- "creation_date" : None ,
530- "dnssec" : "yes" ,
531- "domain_name" : "utwente.nl" ,
532- "expiration_date" : None ,
533- "name_servers" : ["ns1.utwente.nl" , "ns2.utwente.nl" , "ns3.utwente.nl" ],
534- "registrar" : "Universiteit Twente" ,
535- "registrar_address" : "Drienerlolaan 5" ,
536- "registrar_city" : "ENSCHEDE" ,
537- "registrar_country" : "Netherlands" ,
538- "registrar_postal_code" : "7522NB" ,
539- "status" : "active" ,
540- "updated_date" : None ,
541- }
542- self ._parse_and_compare ("utwente.nl" , data , expected_results )
543504
544505 def test_nl_expiration (self ):
545506 data = """
@@ -897,117 +858,6 @@ def test_cm_parse(self):
897858 'ns1.huaweicloud-dns.org' ]
898859 }
899860 self ._parse_and_compare ("icp.cm" , data , expected_results )
900-
901- def test_eu_parse (self ):
902- data = """
903- % The WHOIS service offered by EURid and the access to the records
904- % in the EURid WHOIS database are provided for information purposes
905- % only. It allows persons to check whether a specific domain name
906- % is still available or not and to obtain information related to
907- % the registration records of existing domain names.
908- %
909- % EURid cannot, under any circumstances, be held liable in case the
910- % stored information would prove to be wrong, incomplete or not
911- % accurate in any sense.
912- %
913- % By submitting a query, you agree not to use the information made
914- % available to:
915- %
916- % - allow, enable or otherwise support the transmission of unsolicited,
917- % commercial advertising or other solicitations whether via email or
918- % otherwise;
919- % - target advertising in any possible way;
920- % - cause nuisance in any possible way by sending messages to registrants,
921- % whether by automated, electronic processes capable of enabling
922- % high volumes or by other possible means.
923- %
924- % Without prejudice to the above, it is explicitly forbidden to extract,
925- % copy and/or use or re-utilise in any form and by any means
926- % (electronically or not) the whole or a quantitatively or qualitatively
927- % substantial part of the contents of the WHOIS database without prior
928- % and explicit permission by EURid, nor in any attempt hereof, to apply
929- % automated, electronic processes to EURid (or its systems).
930- %
931- % You agree that any reproduction and/or transmission of data for
932- % commercial purposes will always be considered as the extraction of a
933- % substantial part of the content of the WHOIS database.
934- %
935- % By submitting the query, you agree to abide by this policy and accept
936- % that EURid can take measures to limit the use of its WHOIS services
937- % to protect the privacy of its registrants or the integrity
938- % of the database.
939- %
940- % The EURid WHOIS service on port 43 (textual WHOIS) never discloses
941- % any information concerning the registrant.
942- % Registrant and on-site contact information can be obtained through use of the
943- % web-based WHOIS service available from the EURid website www.eurid.eu
944- %
945- % WHOIS eurid.eu
946- Domain: eurid.eu
947- Script: LATIN
948-
949- Registrant:
950- NOT DISCLOSED!
951- Visit www.eurid.eu for the web-based WHOIS.
952-
953- Technical:
954- Organisation: EURid vzw
955- Language: en
956- Email: tech@eurid.eu
957-
958- Registrar:
959- Name: EURid vzw
960- Website: https://www.eurid.eu
961-
962- Name servers:
963- ns3.eurid.eu (185.36.4.253)
964- ns3.eurid.eu (2001:67c:9c:3937::253)
965- nsx.eurid.eu (185.151.141.1)
966- nsx.eurid.eu (2a02:568:fe00::6575)
967- ns1.eurid.eu (2001:67c:9c:3937::252)
968- ns1.eurid.eu (185.36.4.252)
969- ns2.eurid.eu (2001:67c:40:3937::252)
970- ns2.eurid.eu (185.36.6.252)
971- ns4.eurid.eu (2001:67c:40:3937::253)
972- ns4.eurid.eu (185.36.6.253)
973- nsp.netnod.se
974-
975- Keys:
976- flags:KSK protocol:3 algorithm:RSA_SHA256 pubKey:AwEAAcOQldGtC33GLx8s335UscKMPlWjDXCqbhR2QyAYcfS4CZS6YHg3A1Zz/K3VurTZF68aSaRkNupZuEgt4jozE3v4+t+2qOfiATvoOCrf74hWduBPwk9Go0z7FVlDkok1/qMQmqOtih8TFP85b+w6F/uyLMZS1JowMDUzRurmHJVoT4lW9+OCdrhuQFK9vU24Y8BmacoRy6mWBCFlysizlOIodwmquOf5A+3Nz0B3TLCK4fIYJYVxCUVlpRJ7uaBS+GLD7afuxkEesReYHgPWZFSDMbXk9Ugh+qUi8tEKKFls9TM3lK9BPBcciXUhI1bRJSHftqcNpMmLqg/79SwoWGc=
977-
978- Please visit www.eurid.eu for more info.
979- """
980-
981- expected_results = {
982- "domain_name" : "eurid.eu" ,
983- "script" : "LATIN" ,
984- "reseller_org" : None ,
985- "reseller_lang" : None ,
986- "reseller_email" : None ,
987- "tech_org" : "EURid vzw" ,
988- "tech_lang" : "en" ,
989- "tech_email" : "tech@eurid.eu" ,
990- "registrar" : "EURid vzw" ,
991- "registrar_url" : "https://www.eurid.eu" ,
992- "name_servers" : [
993- "ns3.eurid.eu (185.36.4.253)" ,
994- "ns3.eurid.eu (2001:67c:9c:3937::253)" ,
995- "nsx.eurid.eu (185.151.141.1)" ,
996- "nsx.eurid.eu (2a02:568:fe00::6575)" ,
997- "ns1.eurid.eu (2001:67c:9c:3937::252)" ,
998- "ns1.eurid.eu (185.36.4.252)" ,
999- "ns2.eurid.eu (2001:67c:40:3937::252)" ,
1000- "ns2.eurid.eu (185.36.6.252)" ,
1001- "ns4.eurid.eu (2001:67c:40:3937::253)" ,
1002- "ns4.eurid.eu (185.36.6.253)" ,
1003- "nsp.netnod.se" ,
1004- ],
1005- "dnssec_flags" : "KSK" ,
1006- "dnssec_protocol" : "3" ,
1007- "dnssec_algorithm" : "RSA_SHA256" ,
1008- "dnssec_pubkey" : "AwEAAcOQldGtC33GLx8s335UscKMPlWjDXCqbhR2QyAYcfS4CZS6YHg3A1Zz/K3VurTZF68aSaRkNupZuEgt4jozE3v4+t+2qOfiATvoOCrf74hWduBPwk9Go0z7FVlDkok1/qMQmqOtih8TFP85b+w6F/uyLMZS1JowMDUzRurmHJVoT4lW9+OCdrhuQFK9vU24Y8BmacoRy6mWBCFlysizlOIodwmquOf5A+3Nz0B3TLCK4fIYJYVxCUVlpRJ7uaBS+GLD7afuxkEesReYHgPWZFSDMbXk9Ugh+qUi8tEKKFls9TM3lK9BPBcciXUhI1bRJSHftqcNpMmLqg/79SwoWGc=" ,
1009- }
1010- self ._parse_and_compare ("eurid.eu" , data , expected_results )
1011861
1012862
1013863if __name__ == "__main__" :
0 commit comments