Make second and third address line optional for Nominet WHOIS data with visible address. Add 'registration status' for Nominet. Testcases updated. Fixes #8.
parent
898ab24ccd
commit
a4f486245b
@ -0,0 +1,51 @@
|
||||
|
||||
Domain name:
|
||||
google.co.uk
|
||||
|
||||
Registrant:
|
||||
Google Inc.
|
||||
|
||||
Registrant type:
|
||||
Non-UK Corporation
|
||||
|
||||
Registrant's address:
|
||||
1600 Amphitheatre Parkway
|
||||
Mountain View
|
||||
CA
|
||||
94043
|
||||
United States
|
||||
|
||||
Registrar:
|
||||
Markmonitor Inc. t/a Markmonitor [Tag = MARKMONITOR]
|
||||
URL: http://www.markmonitor.com
|
||||
|
||||
Relevant dates:
|
||||
Registered on: 14-Feb-1999
|
||||
Expiry date: 14-Feb-2015
|
||||
Last updated: 13-Jan-2014
|
||||
|
||||
Registration status:
|
||||
Registered until expiry date.
|
||||
|
||||
Name servers:
|
||||
ns1.google.com
|
||||
ns2.google.com
|
||||
ns3.google.com
|
||||
ns4.google.com
|
||||
|
||||
WHOIS lookup made at 19:54:09 09-Apr-2014
|
||||
|
||||
--
|
||||
This WHOIS information is provided for free by Nominet UK the central registry
|
||||
for .uk domain names. This information and the .uk WHOIS are:
|
||||
|
||||
Copyright Nominet UK 1996 - 2014.
|
||||
|
||||
You may not access the .uk WHOIS or use any data from it except as permitted
|
||||
by the terms of use available in full at http://www.nominet.org.uk/whoisterms,
|
||||
which includes restrictions on: (A) use of the data for advertising, or its
|
||||
repackaging, recompilation, redistribution or reuse (B) obscuring, removing
|
||||
or hiding any or all of this notice and (C) exceeding query rate or volume
|
||||
limits. The data is provided on an 'as-is' basis and may lag behind the
|
||||
register. Access may be withdrawn or restricted at any time.
|
||||
|
@ -0,0 +1 @@
|
||||
{"updated_date": ["2014-01-13T00:00:00"], "status": ["Registered until expiry date."], "contacts": {"admin": null, "tech": null, "registrant": {"city": "Mountain View", "name": "Google Inc.", "state": "CA", "street": "1600 Amphitheatre Parkway", "country": "United States", "postalcode": "94043"}, "billing": null}, "nameservers": ["ns1.google.com", "ns2.google.com", "ns3.google.com", "ns4.google.com"], "expiration_date": ["2015-02-14T00:00:00"], "creation_date": ["1999-02-14T00:00:00", "1999-02-14T00:00:00", "1999-02-14T00:00:00"], "raw": ["\n Domain name:\n google.co.uk\n\n Registrant:\n Google Inc.\n\n Registrant type:\n Non-UK Corporation\n\n Registrant's address:\n 1600 Amphitheatre Parkway\n Mountain View\n CA\n 94043\n United States\n\n Registrar:\n Markmonitor Inc. t/a Markmonitor [Tag = MARKMONITOR]\n URL: http://www.markmonitor.com\n\n Relevant dates:\n Registered on: 14-Feb-1999\n Expiry date: 14-Feb-2015\n Last updated: 13-Jan-2014\n\n Registration status:\n Registered until expiry date.\n\n Name servers:\n ns1.google.com\n ns2.google.com\n ns3.google.com\n ns4.google.com\n\n WHOIS lookup made at 19:54:09 09-Apr-2014\n\n-- \nThis WHOIS information is provided for free by Nominet UK the central registry\nfor .uk domain names. This information and the .uk WHOIS are:\n\n Copyright Nominet UK 1996 - 2014.\n\nYou may not access the .uk WHOIS or use any data from it except as permitted\nby the terms of use available in full at http://www.nominet.org.uk/whoisterms,\nwhich includes restrictions on: (A) use of the data for advertising, or its\nrepackaging, recompilation, redistribution or reuse (B) obscuring, removing\nor hiding any or all of this notice and (C) exceeding query rate or volume\nlimits. The data is provided on an 'as-is' basis and may lag behind the\nregister. Access may be withdrawn or restricted at any time. \n\n"], "registrar": ["Markmonitor Inc. t/a Markmonitor [Tag = MARKMONITOR]"]}
|
@ -1 +1 @@
|
||||
{"updated_date": ["2013-02-06T00:00:00"], "nameservers": ["nom-ns1.nominet.org.uk", "nom-ns2.nominet.org.uk", "nom-ns3.nominet.org.uk"], "contacts": {"admin": null, "tech": null, "registrant": {"city": "Oxford", "name": "Nominet UK", "state": "Oxon", "street": "Minerva House\nEdmund Halley Road\nOxford Science Park", "country": "United Kingdom", "postalcode": "OX4 4DQ"}, "billing": null}, "registrar": ["No registrar listed. This domain is registered directly with Nominet."], "raw": ["\n Domain name:\n nominet.org.uk\n\n Registrant:\n Nominet UK\n\n Registrant type:\n UK Limited Company, (Company number: 3203859)\n\n Registrant's address:\n Minerva House\n Edmund Halley Road\n Oxford Science Park\n Oxford\n Oxon\n OX4 4DQ\n United Kingdom\n\n Registrar:\n No registrar listed. This domain is registered directly with Nominet.\n\n Relevant dates:\n Registered on: before Aug-1996\n Last updated: 06-Feb-2013\n\n Registration status:\n No registration status listed.\n\n Name servers:\n nom-ns1.nominet.org.uk 213.248.199.16\n nom-ns2.nominet.org.uk 195.66.240.250 2a01:40:1001:37::2\n nom-ns3.nominet.org.uk 213.219.13.194\n\n DNSSEC:\n Signed\n\n WHOIS lookup made at 14:56:34 23-Nov-2013\n\n-- \nThis WHOIS information is provided for free by Nominet UK the central registry\nfor .uk domain names. This information and the .uk WHOIS are:\n\n Copyright Nominet UK 1996 - 2013.\n\nYou may not access the .uk WHOIS or use any data from it except as permitted\nby the terms of use available in full at http://www.nominet.org.uk/whoisterms, which\nincludes restrictions on: (A) use of the data for advertising, or its\nrepackaging, recompilation, redistribution or reuse (B) obscuring, removing\nor hiding any or all of this notice and (C) exceeding query rate or volume\nlimits. The data is provided on an 'as-is' basis and may lag behind the\nregister. Access may be withdrawn or restricted at any time. \n\n"]}
|
||||
{"updated_date": ["2013-02-06T00:00:00"], "status": ["No registration status listed."], "contacts": {"admin": null, "tech": null, "registrant": {"city": "Oxford", "name": "Nominet UK", "state": "Oxon", "street": "Minerva House\nEdmund Halley Road\nOxford Science Park", "country": "United Kingdom", "postalcode": "OX4 4DQ"}, "billing": null}, "nameservers": ["nom-ns1.nominet.org.uk", "nom-ns2.nominet.org.uk", "nom-ns3.nominet.org.uk"], "raw": ["\n Domain name:\n nominet.org.uk\n\n Registrant:\n Nominet UK\n\n Registrant type:\n UK Limited Company, (Company number: 3203859)\n\n Registrant's address:\n Minerva House\n Edmund Halley Road\n Oxford Science Park\n Oxford\n Oxon\n OX4 4DQ\n United Kingdom\n\n Registrar:\n No registrar listed. This domain is registered directly with Nominet.\n\n Relevant dates:\n Registered on: before Aug-1996\n Last updated: 06-Feb-2013\n\n Registration status:\n No registration status listed.\n\n Name servers:\n nom-ns1.nominet.org.uk 213.248.199.16\n nom-ns2.nominet.org.uk 195.66.240.250 2a01:40:1001:37::2\n nom-ns3.nominet.org.uk 213.219.13.194\n\n DNSSEC:\n Signed\n\n WHOIS lookup made at 14:56:34 23-Nov-2013\n\n-- \nThis WHOIS information is provided for free by Nominet UK the central registry\nfor .uk domain names. This information and the .uk WHOIS are:\n\n Copyright Nominet UK 1996 - 2013.\n\nYou may not access the .uk WHOIS or use any data from it except as permitted\nby the terms of use available in full at http://www.nominet.org.uk/whoisterms, which\nincludes restrictions on: (A) use of the data for advertising, or its\nrepackaging, recompilation, redistribution or reuse (B) obscuring, removing\nor hiding any or all of this notice and (C) exceeding query rate or volume\nlimits. The data is provided on an 'as-is' basis and may lag behind the\nregister. Access may be withdrawn or restricted at any time. \n\n"], "registrar": ["No registrar listed. This domain is registered directly with Nominet."]}
|
@ -1 +1 @@
|
||||
{"updated_date": ["2013-02-01T00:00:00"], "contacts": {"admin": null, "tech": null, "registrant": {"name": "Dan Foster"}, "billing": null}, "nameservers": ["dns-eu1.powerdns.net", "dns-eu2.powerdns.net", "dns-us1.powerdns.net", "dns-us2.powerdns.net"], "expiration_date": ["2015-04-15T00:00:00"], "creation_date": ["2009-04-15T00:00:00", "2009-04-15T00:00:00", "2009-04-15T00:00:00"], "raw": ["\n Domain name:\n zem.org.uk\n\n Registrant:\n Dan Foster\n\n Registrant type:\n UK Individual\n\n Registrant's address:\n The registrant is a non-trading individual who has opted to have their\n address omitted from the WHOIS service.\n\n Registrar:\n Webfusion Ltd t/a 123-reg [Tag = 123-REG]\n URL: http://www.123-reg.co.uk\n\n Relevant dates:\n Registered on: 15-Apr-2009\n Expiry date: 15-Apr-2015\n Last updated: 01-Feb-2013\n\n Registration status:\n Registered until expiry date.\n\n Name servers:\n dns-eu1.powerdns.net\n dns-eu2.powerdns.net\n dns-us1.powerdns.net\n dns-us2.powerdns.net\n\n WHOIS lookup made at 04:14:40 20-Nov-2013\n\n-- \nThis WHOIS information is provided for free by Nominet UK the central registry\nfor .uk domain names. This information and the .uk WHOIS are:\n\n Copyright Nominet UK 1996 - 2013.\n\nYou may not access the .uk WHOIS or use any data from it except as permitted\nby the terms of use available in full at http://www.nominet.org.uk/whoisterms, which\nincludes restrictions on: (A) use of the data for advertising, or its\nrepackaging, recompilation, redistribution or reuse (B) obscuring, removing\nor hiding any or all of this notice and (C) exceeding query rate or volume\nlimits. The data is provided on an 'as-is' basis and may lag behind the\nregister. Access may be withdrawn or restricted at any time. \n\n"], "registrar": ["Webfusion Ltd t/a 123-reg [Tag = 123-REG]"]}
|
||||
{"updated_date": ["2013-02-01T00:00:00"], "status": ["Registered until expiry date."], "contacts": {"admin": null, "tech": null, "registrant": {"name": "Dan Foster"}, "billing": null}, "nameservers": ["dns-eu1.powerdns.net", "dns-eu2.powerdns.net", "dns-us1.powerdns.net", "dns-us2.powerdns.net"], "expiration_date": ["2015-04-15T00:00:00"], "creation_date": ["2009-04-15T00:00:00", "2009-04-15T00:00:00", "2009-04-15T00:00:00"], "raw": ["\n Domain name:\n zem.org.uk\n\n Registrant:\n Dan Foster\n\n Registrant type:\n UK Individual\n\n Registrant's address:\n The registrant is a non-trading individual who has opted to have their\n address omitted from the WHOIS service.\n\n Registrar:\n Webfusion Ltd t/a 123-reg [Tag = 123-REG]\n URL: http://www.123-reg.co.uk\n\n Relevant dates:\n Registered on: 15-Apr-2009\n Expiry date: 15-Apr-2015\n Last updated: 01-Feb-2013\n\n Registration status:\n Registered until expiry date.\n\n Name servers:\n dns-eu1.powerdns.net\n dns-eu2.powerdns.net\n dns-us1.powerdns.net\n dns-us2.powerdns.net\n\n WHOIS lookup made at 04:14:40 20-Nov-2013\n\n-- \nThis WHOIS information is provided for free by Nominet UK the central registry\nfor .uk domain names. This information and the .uk WHOIS are:\n\n Copyright Nominet UK 1996 - 2013.\n\nYou may not access the .uk WHOIS or use any data from it except as permitted\nby the terms of use available in full at http://www.nominet.org.uk/whoisterms, which\nincludes restrictions on: (A) use of the data for advertising, or its\nrepackaging, recompilation, redistribution or reuse (B) obscuring, removing\nor hiding any or all of this notice and (C) exceeding query rate or volume\nlimits. The data is provided on an 'as-is' basis and may lag behind the\nregister. Access may be withdrawn or restricted at any time. \n\n"], "registrar": ["Webfusion Ltd t/a 123-reg [Tag = 123-REG]"]}
|
@ -0,0 +1 @@
|
||||
{"updated_date": ["2014-01-13T00:00:00"], "status": ["Registered until expiry date."], "contacts": {"admin": null, "tech": null, "registrant": {"city": "Mountain View", "name": "Google Inc.", "state": "CA", "street": "1600 Amphitheatre Parkway", "country": "United States", "postalcode": "94043"}, "billing": null}, "nameservers": ["ns1.google.com", "ns2.google.com", "ns3.google.com", "ns4.google.com"], "expiration_date": ["2015-02-14T00:00:00"], "creation_date": ["1999-02-14T00:00:00", "1999-02-14T00:00:00", "1999-02-14T00:00:00"], "raw": ["\n Domain name:\n google.co.uk\n\n Registrant:\n Google Inc.\n\n Registrant type:\n Non-UK Corporation\n\n Registrant's address:\n 1600 Amphitheatre Parkway\n Mountain View\n CA\n 94043\n United States\n\n Registrar:\n Markmonitor Inc. t/a Markmonitor [Tag = MARKMONITOR]\n URL: http://www.markmonitor.com\n\n Relevant dates:\n Registered on: 14-Feb-1999\n Expiry date: 14-Feb-2015\n Last updated: 13-Jan-2014\n\n Registration status:\n Registered until expiry date.\n\n Name servers:\n ns1.google.com\n ns2.google.com\n ns3.google.com\n ns4.google.com\n\n WHOIS lookup made at 19:54:09 09-Apr-2014\n\n-- \nThis WHOIS information is provided for free by Nominet UK the central registry\nfor .uk domain names. This information and the .uk WHOIS are:\n\n Copyright Nominet UK 1996 - 2014.\n\nYou may not access the .uk WHOIS or use any data from it except as permitted\nby the terms of use available in full at http://www.nominet.org.uk/whoisterms,\nwhich includes restrictions on: (A) use of the data for advertising, or its\nrepackaging, recompilation, redistribution or reuse (B) obscuring, removing\nor hiding any or all of this notice and (C) exceeding query rate or volume\nlimits. The data is provided on an 'as-is' basis and may lag behind the\nregister. Access may be withdrawn or restricted at any time. \n\n"], "registrar": ["Markmonitor Inc. t/a Markmonitor [Tag = MARKMONITOR]"]}
|
@ -1 +1 @@
|
||||
{"updated_date": ["2013-02-06T00:00:00"], "nameservers": ["nom-ns1.nominet.org.uk", "nom-ns2.nominet.org.uk", "nom-ns3.nominet.org.uk"], "contacts": {"admin": null, "tech": null, "registrant": {"city": "Oxford", "name": "Nominet UK", "state": "Oxon", "street": "Minerva House\nEdmund Halley Road\nOxford Science Park", "country": "United Kingdom", "postalcode": "OX4 4DQ"}, "billing": null}, "registrar": ["No registrar listed. This domain is registered directly with Nominet."], "raw": ["\n Domain name:\n nominet.org.uk\n\n Registrant:\n Nominet UK\n\n Registrant type:\n UK Limited Company, (Company number: 3203859)\n\n Registrant's address:\n Minerva House\n Edmund Halley Road\n Oxford Science Park\n Oxford\n Oxon\n OX4 4DQ\n United Kingdom\n\n Registrar:\n No registrar listed. This domain is registered directly with Nominet.\n\n Relevant dates:\n Registered on: before Aug-1996\n Last updated: 06-Feb-2013\n\n Registration status:\n No registration status listed.\n\n Name servers:\n nom-ns1.nominet.org.uk 213.248.199.16\n nom-ns2.nominet.org.uk 195.66.240.250 2a01:40:1001:37::2\n nom-ns3.nominet.org.uk 213.219.13.194\n\n DNSSEC:\n Signed\n\n WHOIS lookup made at 14:56:34 23-Nov-2013\n\n-- \nThis WHOIS information is provided for free by Nominet UK the central registry\nfor .uk domain names. This information and the .uk WHOIS are:\n\n Copyright Nominet UK 1996 - 2013.\n\nYou may not access the .uk WHOIS or use any data from it except as permitted\nby the terms of use available in full at http://www.nominet.org.uk/whoisterms, which\nincludes restrictions on: (A) use of the data for advertising, or its\nrepackaging, recompilation, redistribution or reuse (B) obscuring, removing\nor hiding any or all of this notice and (C) exceeding query rate or volume\nlimits. The data is provided on an 'as-is' basis and may lag behind the\nregister. Access may be withdrawn or restricted at any time. \n\n"]}
|
||||
{"updated_date": ["2013-02-06T00:00:00"], "status": ["No registration status listed."], "contacts": {"admin": null, "tech": null, "registrant": {"city": "Oxford", "name": "Nominet UK", "state": "Oxon", "street": "Minerva House\nEdmund Halley Road\nOxford Science Park", "country": "United Kingdom", "postalcode": "OX4 4DQ"}, "billing": null}, "nameservers": ["nom-ns1.nominet.org.uk", "nom-ns2.nominet.org.uk", "nom-ns3.nominet.org.uk"], "raw": ["\n Domain name:\n nominet.org.uk\n\n Registrant:\n Nominet UK\n\n Registrant type:\n UK Limited Company, (Company number: 3203859)\n\n Registrant's address:\n Minerva House\n Edmund Halley Road\n Oxford Science Park\n Oxford\n Oxon\n OX4 4DQ\n United Kingdom\n\n Registrar:\n No registrar listed. This domain is registered directly with Nominet.\n\n Relevant dates:\n Registered on: before Aug-1996\n Last updated: 06-Feb-2013\n\n Registration status:\n No registration status listed.\n\n Name servers:\n nom-ns1.nominet.org.uk 213.248.199.16\n nom-ns2.nominet.org.uk 195.66.240.250 2a01:40:1001:37::2\n nom-ns3.nominet.org.uk 213.219.13.194\n\n DNSSEC:\n Signed\n\n WHOIS lookup made at 14:56:34 23-Nov-2013\n\n-- \nThis WHOIS information is provided for free by Nominet UK the central registry\nfor .uk domain names. This information and the .uk WHOIS are:\n\n Copyright Nominet UK 1996 - 2013.\n\nYou may not access the .uk WHOIS or use any data from it except as permitted\nby the terms of use available in full at http://www.nominet.org.uk/whoisterms, which\nincludes restrictions on: (A) use of the data for advertising, or its\nrepackaging, recompilation, redistribution or reuse (B) obscuring, removing\nor hiding any or all of this notice and (C) exceeding query rate or volume\nlimits. The data is provided on an 'as-is' basis and may lag behind the\nregister. Access may be withdrawn or restricted at any time. \n\n"], "registrar": ["No registrar listed. This domain is registered directly with Nominet."]}
|
@ -1 +1 @@
|
||||
{"updated_date": ["2013-02-01T00:00:00"], "contacts": {"admin": null, "tech": null, "registrant": {"name": "Dan Foster"}, "billing": null}, "nameservers": ["dns-eu1.powerdns.net", "dns-eu2.powerdns.net", "dns-us1.powerdns.net", "dns-us2.powerdns.net"], "expiration_date": ["2015-04-15T00:00:00"], "creation_date": ["2009-04-15T00:00:00", "2009-04-15T00:00:00", "2009-04-15T00:00:00"], "raw": ["\n Domain name:\n zem.org.uk\n\n Registrant:\n Dan Foster\n\n Registrant type:\n UK Individual\n\n Registrant's address:\n The registrant is a non-trading individual who has opted to have their\n address omitted from the WHOIS service.\n\n Registrar:\n Webfusion Ltd t/a 123-reg [Tag = 123-REG]\n URL: http://www.123-reg.co.uk\n\n Relevant dates:\n Registered on: 15-Apr-2009\n Expiry date: 15-Apr-2015\n Last updated: 01-Feb-2013\n\n Registration status:\n Registered until expiry date.\n\n Name servers:\n dns-eu1.powerdns.net\n dns-eu2.powerdns.net\n dns-us1.powerdns.net\n dns-us2.powerdns.net\n\n WHOIS lookup made at 04:14:40 20-Nov-2013\n\n-- \nThis WHOIS information is provided for free by Nominet UK the central registry\nfor .uk domain names. This information and the .uk WHOIS are:\n\n Copyright Nominet UK 1996 - 2013.\n\nYou may not access the .uk WHOIS or use any data from it except as permitted\nby the terms of use available in full at http://www.nominet.org.uk/whoisterms, which\nincludes restrictions on: (A) use of the data for advertising, or its\nrepackaging, recompilation, redistribution or reuse (B) obscuring, removing\nor hiding any or all of this notice and (C) exceeding query rate or volume\nlimits. The data is provided on an 'as-is' basis and may lag behind the\nregister. Access may be withdrawn or restricted at any time. \n\n"], "registrar": ["Webfusion Ltd t/a 123-reg [Tag = 123-REG]"]}
|
||||
{"updated_date": ["2013-02-01T00:00:00"], "status": ["Registered until expiry date."], "contacts": {"admin": null, "tech": null, "registrant": {"name": "Dan Foster"}, "billing": null}, "nameservers": ["dns-eu1.powerdns.net", "dns-eu2.powerdns.net", "dns-us1.powerdns.net", "dns-us2.powerdns.net"], "expiration_date": ["2015-04-15T00:00:00"], "creation_date": ["2009-04-15T00:00:00", "2009-04-15T00:00:00", "2009-04-15T00:00:00"], "raw": ["\n Domain name:\n zem.org.uk\n\n Registrant:\n Dan Foster\n\n Registrant type:\n UK Individual\n\n Registrant's address:\n The registrant is a non-trading individual who has opted to have their\n address omitted from the WHOIS service.\n\n Registrar:\n Webfusion Ltd t/a 123-reg [Tag = 123-REG]\n URL: http://www.123-reg.co.uk\n\n Relevant dates:\n Registered on: 15-Apr-2009\n Expiry date: 15-Apr-2015\n Last updated: 01-Feb-2013\n\n Registration status:\n Registered until expiry date.\n\n Name servers:\n dns-eu1.powerdns.net\n dns-eu2.powerdns.net\n dns-us1.powerdns.net\n dns-us2.powerdns.net\n\n WHOIS lookup made at 04:14:40 20-Nov-2013\n\n-- \nThis WHOIS information is provided for free by Nominet UK the central registry\nfor .uk domain names. This information and the .uk WHOIS are:\n\n Copyright Nominet UK 1996 - 2013.\n\nYou may not access the .uk WHOIS or use any data from it except as permitted\nby the terms of use available in full at http://www.nominet.org.uk/whoisterms, which\nincludes restrictions on: (A) use of the data for advertising, or its\nrepackaging, recompilation, redistribution or reuse (B) obscuring, removing\nor hiding any or all of this notice and (C) exceeding query rate or volume\nlimits. The data is provided on an 'as-is' basis and may lag behind the\nregister. Access may be withdrawn or restricted at any time. \n\n"], "registrar": ["Webfusion Ltd t/a 123-reg [Tag = 123-REG]"]}
|
Loading…
Reference in New Issue