From 40aafba698d951f9b6c77259f270044f975afb9b Mon Sep 17 00:00:00 2001 From: Larry Kim Date: Tue, 13 May 2014 18:11:21 +0900 Subject: [PATCH] .io support --- whois/tlds/io | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 whois/tlds/io diff --git a/whois/tlds/io b/whois/tlds/io new file mode 100644 index 0000000..68463d6 --- /dev/null +++ b/whois/tlds/io @@ -0,0 +1,60 @@ +server = { + "host": "http://nic.io/cgi-bin/whois", + "method": "http", + "http-method": "POST", + "http-arg": "query", +} + + +parse = { + "default": { + "DomainID": "Domain Handle :\s+(\S+)", + "DomainName": "Domain Name :\s+(\S+)", + "Status": "Domain Status :\s+(\S+)", + "CreationDate": "First Registered :\s+(\S+)", + "ExpirationDate": "Expires :\s+(\S+)", + "UpdatedDate": "Last Updated :\s+(\S+)", + "RegistrantID": "Domain Owner[\S\s]*?User ID : (\S+)", + "RegistrantOrganization": "Domain Owner[\S\s]*?Organization Name : (.*)", + "RegistrantName": "Domain Owner[\S\s]*?Contact Name : (.*)", + "RegistrantStreet": "Domain Owner[\S\s]*?Street : (.*)", + "RegistrantCity": "Domain Owner[\S\s]*?City : (.*)", + "RegistrantState": "Domain Owner[\S\s]*?State : (.*)", + "RegistrantPostalCode": "Domain Owner[\S\s]*?Postal Code : (.*)", + "RegistrantCountry": "Domain Owner[\S\s]*?Country: (.*)", + "AdminID": "Admin Contact[\S\s]*?User ID : (\S+)", + "AdminOrganization": "Admin Contact[\S\s]*?Organization Name : (.*)", + "AdminName": "Admin Contact[\S\s]*?Contact Name : (.*)", + "AdminStreet": "Admin Contact[\S\s]*?Street : (.*)", + "AdminCity": "Admin Contact[\S\s]*?City : (.*)", + "AdminState": "Admin Contact[\S\s]*?State : (.*)", + "AdminPostalCode": "Admin Contact[\S\s]*?Postal Code : (.*)", + "AdminCountry": "Admin Contact[\S\s]*?Country: (.*)", + "TechID": "Technical Contact[\S\s]*?User ID : (\S+)", + "TechOrganization": "Technical Contact[\S\s]*?Organization Name : (.*)", + "TechName": "Technical Contact[\S\s]*?Contact Name : (.*)", + "TechStreet": "Technical Contact[\S\s]*?Street : (.*)", + "TechCity": "Technical Contact[\S\s]*?City : (.*)", + "TechState": "Technical Contact[\S\s]*?State : (.*)", + "TechPostalCode": "Technical Contact[\S\s]*?Postal Code : (.*)", + "TechCountry": "Technical Contact[\S\s]*?Country: (.*)", + "BillingID": "Billing Contact[\S\s]*?User ID : (\S+)", + "BillingOrganization": "Billing Contact[\S\s]*?Organization Name : (.*)", + "BillingName": "Billing Contact[\S\s]*?Contact Name : (.*)", + "BillingStreet": "Billing Contact[\S\s]*?Street : (.*)", + "BillingCity": "Billing Contact[\S\s]*?City : (.*)", + "BillingState": "Billing Contact[\S\s]*?State : (.*)", + "BillingPostalCode": "Billing Contact[\S\s]*?Postal Code : (.*)", + "BillingCountry": "Billing Contact[\S\s]*?Country: (.*)", + "RegistrarID": "Registrar<[\S\s]*?User ID : (\S+)", + "RegistrarOrganization": "Registrar<[\S\s]*?Organization Name : (.*)", + "Registrar": "Registrar<[\S\s]*? Name : (.*)", + "RegistrarName": "Registrar<[\S\s]*? Name : (.*)", + "RegistrarStreet": "Registrar<[\S\s]*?Street : (.*)", + "RegistrarCity": "Registrar<[\S\s]*?City : (.*)", + "RegistrarState": "Registrar<[\S\s]*?State : (.*)", + "RegistrarPostalCode": "Registrar<[\S\s]*?Postal Code : (.*)", + "RegistrarCountry": "Registrar<[\S\s]*?Country: (.*)", + "NameServer": "Name Server: (\S+)", + } +}