Jump to content

Does anyone know the whoisserver.php code for the new .asia domains


blip

Recommended Posts

  • 4 weeks later...
  • 2 weeks later...

Nothing specific - just Enom and WHMCS. I meant that the Enom's interface seems to be requiring this variable being passed to them, which WHMCS does not appear to be doing so. Seeing as .asia domains are new, this is to be expected really but could do with implementing.

Link to comment
Share on other sites

I have got following, works fine. Prior to this, I used WHOIS servers but they were not listing reserved domains which was causing a big problem. Although following code does not return WHOIS information yet it can search the availability of .asia domain perfectly.

 

Add following in "includes/whoisservers.php" file.

 

.asia|http://www.whois-tools.com/domain-check/index.php?domain=|HTTPREQUEST-NO MATCH

 

I'm also looking for another API which can return WHOIS information. If I find it, I'll share.

Link to comment
Share on other sites

.asia domains are not working via Enom:

 

Error: Extended attribute: asia_cclocality is required.

 

Any chance of an update to fix this?

 

Ok, after finally finding some time to look into this, the asia_cclocality field is basically defined in Enom as 'Locality of Establishment of the Entity' - it's a dropdown box requiring that you select which asia-pacific country you are located in to qualify for registration of the domain. Enom list these on their website. Can we get this added in a future version?

Link to comment
Share on other sites

OK, Enom have informed me that you can query this via the API actually. The stars in the url represent your Enom username & password:

 

You should be able to find this using the "GetExtAttributes" command. You can find extended attribute info for all ccTLDs this way. Here's a sample query string:

 

https://reseller.enom.com/interface.asp?command=getextattributes&uid=******&pw=******&tld=asia&responsetype=xml

 

The results of this are as follows:

 

 <?xml version="1.0" ?> 
- <interface-response>
- <Attributes>
- <Attribute>
 <ID>63</ID> 
 <Name>asia_cclocality</Name> 
 <Application>2</Application> 
 <UserDefined>False</UserDefined> 
 <Required>1</Required> 
 <Description>Locality of Establishment of the Entity</Description> 
 <IsChild>0</IsChild> 
- <Options>
- <Option>
 <ID>709</ID> 
 <Value>af</Value> 
 <Title>Afghanistan</Title> 
 <Description>Afghanistan</Description> 
 </Option>
- <Option>
 <ID>751</ID> 
 <Value>aq</Value> 
 <Title>Antarctica</Title> 
 <Description>Antarctica</Description> 
 </Option>
- <Option>
 <ID>710</ID> 
 <Value>am</Value> 
 <Title>Armenia</Title> 
 <Description>Armenia</Description> 
 </Option>
- <Option>
 <ID>752</ID> 
 <Value>au</Value> 
 <Title>Australia</Title> 
 <Description>Australia</Description> 
 </Option>
- <Option>
 <ID>711</ID> 
 <Value>az</Value> 
 <Title>Azerbaijan</Title> 
 <Description>Azerbaijan</Description> 
 </Option>
- <Option>
 <ID>712</ID> 
 <Value>bh</Value> 
 <Title>Bahrain</Title> 
 <Description>Bahrain</Description> 
 </Option>
- <Option>
 <ID>733</ID> 
 <Value>bd</Value> 
 <Title>Bangladesh</Title> 
 <Description>Bangladesh</Description> 
 </Option>
- <Option>
 <ID>735</ID> 
 <Value>bt</Value> 
 <Title>Bhutan</Title> 
 <Description>Bhutan</Description> 
 </Option>
- <Option>
 <ID>734</ID> 
 <Value>bn</Value> 
 <Title>Brunei Darussalam</Title> 
 <Description>Brunei Darussalam</Description> 
 </Option>
- <Option>
 <ID>738</ID> 
 <Value>kh</Value> 
 <Title>Cambodia</Title> 
 <Description>Cambodia</Description> 
 </Option>
- <Option>
 <ID>701</ID> 
 <Value>cn</Value> 
 <Title>China</Title> 
 <Description>China</Description> 
 </Option>
- <Option>
 <ID>753</ID> 
 <Value>cc</Value> 
 <Title>Cocos (Keeling) Islands</Title> 
 <Description>Cocos (Keeling) Islands</Description> 
 </Option>
- <Option>
 <ID>754</ID> 
 <Value>ck</Value> 
 <Title>Cook Islands</Title> 
 <Description>Cook Islands</Description> 
 </Option>
- <Option>
 <ID>713</ID> 
 <Value>cy</Value> 
 <Title>Cyprus</Title> 
 <Description>Cyprus</Description> 
 </Option>
- <Option>
 <ID>755</ID> 
 <Value>fj</Value> 
 <Title>Fiji</Title> 
 <Description>Fiji</Description> 
 </Option>
- <Option>
 <ID>714</ID> 
 <Value>ge</Value> 
 <Title>Georgia</Title> 
 <Description>Georgia</Description> 
 </Option>
- <Option>
 <ID>757</ID> 
 <Value>hm</Value> 
 <Title>Heard Island And Mcdonald Islands</Title> 
 <Description>Heard Island And Mcdonald Islands</Description> 
 </Option>
- <Option>
 <ID>702</ID> 
 <Value>hk</Value> 
 <Title>Hong Kong</Title> 
 <Description>Hong Kong</Description> 
 </Option>
- <Option>
 <ID>737</ID> 
 <Value>in</Value> 
 <Title>India</Title> 
 <Description>India</Description> 
 </Option>
- <Option>
 <ID>736</ID> 
 <Value>id</Value> 
 <Title>Indonesia</Title> 
 <Description>Indonesia</Description> 
 </Option>
- <Option>
 <ID>717</ID> 
 <Value>ir</Value> 
 <Title>Iran, Islamic Republic Of</Title> 
 <Description>Iran, Islamic Republic Of</Description> 
 </Option>
- <Option>
 <ID>716</ID> 
 <Value>iq</Value> 
 <Title>Iraq</Title> 
 <Description>Iraq</Description> 
 </Option>
- <Option>
 <ID>715</ID> 
 <Value>il</Value> 
 <Title>Israel</Title> 
 <Description>Israel</Description> 
 </Option>
- <Option>
 <ID>718</ID> 
 <Value>jo</Value> 
 <Title>Jordan</Title> 
 <Description>Jordan</Description> 
 </Option>
- <Option>
 <ID>788</ID> 
 <Value>jp</Value> 
 <Title>Japan</Title> 
 <Description>Japan</Description> 
 </Option>
- <Option>
 <ID>721</ID> 
 <Value>kz</Value> 
 <Title>Kazakhstan</Title> 
 <Description>Kazakhstan</Description> 
 </Option>
- <Option>
 <ID>758</ID> 
 <Value>ki</Value> 
 <Title>Kiribati</Title> 
 <Description>Kiribati</Description> 
 </Option>
- <Option>
 <ID>703</ID> 
 <Value>kp</Value> 
 <Title>Korea, Democratic People'S Republic Of</Title> 
 <Description>Korea, Democratic People'S Republic Of</Description> 
 </Option>
- <Option>
 <ID>704</ID> 
 <Value>kr</Value> 
 <Title>Korea, Republic Of</Title> 
 <Description>Korea, Republic Of</Description> 
 </Option>
- <Option>
 <ID>720</ID> 
 <Value>kw</Value> 
 <Title>Kuwait</Title> 
 <Description>Kuwait</Description> 
 </Option>
- <Option>
 <ID>719</ID> 
 <Value>kg</Value> 
 <Title>Kyrgyzstan</Title> 
 <Description>Kyrgyzstan</Description> 
 </Option>
- <Option>
 <ID>739</ID> 
 <Value>la</Value> 
 <Title>Lao People'S Democratic Republic</Title> 
 <Description>Lao People'S Democratic Republic</Description> 
 </Option>
- <Option>
 <ID>722</ID> 
 <Value>lb</Value> 
 <Title>Lebanon</Title> 
 <Description>Lebanon</Description> 
 </Option>
- <Option>
 <ID>706</ID> 
 <Value>mo</Value> 
 <Title>Macao</Title> 
 <Description>Macao</Description> 
 </Option>
- <Option>
 <ID>743</ID> 
 <Value>my</Value> 
 <Title>Malaysia</Title> 
 <Description>Malaysia</Description> 
 </Option>
- <Option>
 <ID>742</ID> 
 <Value>mv</Value> 
 <Title>Maldives</Title> 
 <Description>Maldives</Description> 
 </Option>
- <Option>
 <ID>759</ID> 
 <Value>mh</Value> 
 <Title>Marshall Islands</Title> 
 <Description>Marshall Islands</Description> 
 </Option>
- <Option>
 <ID>756</ID> 
 <Value>fm</Value> 
 <Title>Micronesia, Federated States Of</Title> 
 <Description>Micronesia, Federated States Of</Description> 
 </Option>
- <Option>
 <ID>705</ID> 
 <Value>mn</Value> 
 <Title>Mongolia</Title> 
 <Description>Mongolia</Description> 
 </Option>
- <Option>
 <ID>741</ID> 
 <Value>mm</Value> 
 <Title>Myanmar</Title> 
 <Description>Myanmar</Description> 
 </Option>
- <Option>
 <ID>761</ID> 
 <Value>nr</Value> 
 <Title>Nauru</Title> 
 <Description>Nauru</Description> 
 </Option>
- <Option>
 <ID>744</ID> 
 <Value>np</Value> 
 <Title>Nepal</Title> 
 <Description>Nepal</Description> 
 </Option>
- <Option>
 <ID>763</ID> 
 <Value>nz</Value> 
 <Title>New Zealand</Title> 
 <Description>New Zealand</Description> 
 </Option>
- <Option>
 <ID>762</ID> 
 <Value>nu</Value> 
 <Title>Niue</Title> 
 <Description>Niue</Description> 
 </Option>
- <Option>
 <ID>760</ID> 
 <Value>nf</Value> 
 <Title>Norfolk Island</Title> 
 <Description>Norfolk Island</Description> 
 </Option>
- <Option>
 <ID>723</ID> 
 <Value>om</Value> 
 <Title>Oman</Title> 
 <Description>Oman</Description> 
 </Option>
- <Option>
 <ID>746</ID> 
 <Value>pk</Value> 
 <Title>Pakistan</Title> 
 <Description>Pakistan</Description> 
 </Option>
- <Option>
 <ID>765</ID> 
 <Value>pw</Value> 
 <Title>Palau</Title> 
 <Description>Palau</Description> 
 </Option>
- <Option>
 <ID>724</ID> 
 <Value>ps</Value> 
 <Title>Palestinian Territories</Title> 
 <Description>Palestinian Territories</Description> 
 </Option>
- <Option>
 <ID>764</ID> 
 <Value>pg</Value> 
 <Title>Papua New Guinea</Title> 
 <Description>Papua New Guinea</Description> 
 </Option>
- <Option>
 <ID>745</ID> 
 <Value>ph</Value> 
 <Title>Philippines</Title> 
 <Description>Philippines</Description> 
 </Option>
- <Option>
 <ID>725</ID> 
 <Value>qa</Value> 
 <Title>Qatar</Title> 
 <Description>Qatar</Description> 
 </Option>
- <Option>
 <ID>771</ID> 
 <Value>ws</Value> 
 <Title>Samoa</Title> 
 <Description>Samoa</Description> 
 </Option>
- <Option>
 <ID>726</ID> 
 <Value>sa</Value> 
 <Title>Saudi Arabia</Title> 
 <Description>Saudi Arabia</Description> 
 </Option>

Link to comment
Share on other sites

...and the rest as it's too long for a page ;)

 

- <Option>
 <ID>747</ID> 
 <Value>sg</Value> 
 <Title>Singapore</Title> 
 <Description>Singapore</Description> 
 </Option>
- <Option>
 <ID>766</ID> 
 <Value>sb</Value> 
 <Title>Solomon Islands</Title> 
 <Description>Solomon Islands</Description> 
 </Option>
- <Option>
 <ID>740</ID> 
 <Value>lk</Value> 
 <Title>Sri Lanka</Title> 
 <Description>Sri Lanka</Description> 
 </Option>
- <Option>
 <ID>727</ID> 
 <Value>sy</Value> 
 <Title>Syrian Arab Republic</Title> 
 <Description>Syrian Arab Republic</Description> 
 </Option>
- <Option>
 <ID>707</ID> 
 <Value>tw</Value> 
 <Title>Taiwan</Title> 
 <Description>Taiwan</Description> 
 </Option>
- <Option>
 <ID>728</ID> 
 <Value>tj</Value> 
 <Title>Tajikistan</Title> 
 <Description>Tajikistan</Description> 
 </Option>
- <Option>
 <ID>748</ID> 
 <Value>th</Value> 
 <Title>Thailand</Title> 
 <Description>Thailand</Description> 
 </Option>
- <Option>
 <ID>749</ID> 
 <Value>tl</Value> 
 <Title>Timor-Leste</Title> 
 <Description>Timor-Leste</Description> 
 </Option>
- <Option>
 <ID>767</ID> 
 <Value>tk</Value> 
 <Title>Tokelau</Title> 
 <Description>Tokelau</Description> 
 </Option>
- <Option>
 <ID>768</ID> 
 <Value>to</Value> 
 <Title>Tonga</Title> 
 <Description>Tonga</Description> 
 </Option>
- <Option>
 <ID>730</ID> 
 <Value>tr</Value> 
 <Title>Turkey</Title> 
 <Description>Turkey</Description> 
 </Option>
- <Option>
 <ID>729</ID> 
 <Value>tm</Value> 
 <Title>Turkmenistan</Title> 
 <Description>Turkmenistan</Description> 
 </Option>
- <Option>
 <ID>769</ID> 
 <Value>tv</Value> 
 <Title>Tuvalu</Title> 
 <Description>Tuvalu</Description> 
 </Option>
- <Option>
 <ID>708</ID> 
 <Value>ae</Value> 
 <Title>United Arab Emirates</Title> 
 <Description>United Arab Emirates</Description> 
 </Option>
- <Option>
 <ID>731</ID> 
 <Value>uz</Value> 
 <Title>Uzbekistan</Title> 
 <Description>Uzbekistan</Description> 
 </Option>
- <Option>
 <ID>770</ID> 
 <Value>vu</Value> 
 <Title>Vanuatu</Title> 
 <Description>Vanuatu</Description> 
 </Option>
- <Option>
 <ID>750</ID> 
 <Value>vn</Value> 
 <Title>Viet Nam</Title> 
 <Description>Viet Nam</Description> 
 </Option>
- <Option>
 <ID>732</ID> 
 <Value>ye</Value> 
 <Title>Yemen</Title> 
 <Description>Yemen</Description> 
 </Option>
 </Options>
 </Attribute>
- <Attribute>
 <ID>64</ID> 
 <Name>asia_localitycity</Name> 
 <Application>2</Application> 
 <UserDefined>True</UserDefined> 
 <Required>0</Required> 
 <Description>City of Establishment of the Entity</Description> 
 <IsChild>0</IsChild> 
 <Options /> 
 </Attribute>
- <Attribute>
 <ID>65</ID> 
 <Name>asia_localitysp</Name> 
 <Application>2</Application> 
 <UserDefined>True</UserDefined> 
 <Required>0</Required> 
 <Description>State/Province of Establishment of the Entity</Description> 
 <IsChild>0</IsChild> 
 <Options /> 
 </Attribute>
- <Attribute>
 <ID>66</ID> 
 <Name>asia_legalentitytype</Name> 
 <Application>2</Application> 
 <UserDefined>False</UserDefined> 
 <Required>1</Required> 
 <Description>Type of Entity</Description> 
 <IsChild>0</IsChild> 
- <Options>
- <Option>
 <ID>772</ID> 
 <Value>corporation</Value> 
 <Title>Corporations or Companies</Title> 
 <Description>Corporations or Companies</Description> 
 </Option>
- <Option>
 <ID>773</ID> 
 <Value>cooperative</Value> 
 <Title>Cooperatives</Title> 
 <Description>Cooperatives</Description> 
 </Option>
- <Option>
 <ID>774</ID> 
 <Value>partnership</Value> 
 <Title>Partnerships or Collectives</Title> 
 <Description>Partnerships or Collectives</Description> 
 </Option>
- <Option>
 <ID>775</ID> 
 <Value>government</Value> 
 <Title>Government Bodies</Title> 
 <Description>Government Bodies</Description> 
 </Option>
- <Option>
 <ID>776</ID> 
 <Value>politicalParty</Value> 
 <Title>Political parties or Trade Unions</Title> 
 <Description>Political parties or Trade Unions</Description> 
 </Option>
- <Option>
 <ID>777</ID> 
 <Value>society</Value> 
 <Title>Trusts, Estates, Associations or Societies</Title> 
 <Description>Trusts, Estates, Associations or Societies</Description> 
 </Option>
- <Option>
 <ID>778</ID> 
 <Value>institution</Value> 
 <Title>Institutions</Title> 
 <Description>Institutions</Description> 
 </Option>
- <Option>
 <ID>779</ID> 
 <Value>naturalPerson</Value> 
 <Title>Natural Persons</Title> 
 <Description>Natural Persons</Description> 
 </Option>
- <Option>
 <ID>780</ID> 
 <Value>other</Value> 
 <Title>Other</Title> 
 <Description>Other</Description> 
- <Requires>
- <Attribute>
 <ID>69</ID> 
 <Name>asia_otherletype</Name> 
 </Attribute>
 </Requires>
 </Option>
 </Options>
 </Attribute>
- <Attribute>
 <ID>67</ID> 
 <Name>asia_identform</Name> 
 <Application>2</Application> 
 <UserDefined>False</UserDefined> 
 <Required>1</Required> 
 <Description>Form of Identity</Description> 
 <IsChild>0</IsChild> 
- <Options>
- <Option>
 <ID>781</ID> 
 <Value>certificate</Value> 
 <Title>Certificate of Incorp</Title> 
 <Description>Certificate issued by the Gov registry as proof of due incorporation & valid existence of company</Description> 
 </Option>
- <Option>
 <ID>782</ID> 
 <Value>legislation</Value> 
 <Title>Charter</Title> 
 <Description>Act, decree or legislation chartering the formation of an entity</Description> 
 </Option>
- <Option>
 <ID>783</ID> 
 <Value>societyRegistry</Value> 
 <Title>Societies Registry</Title> 
 <Description>Societies Registry or equivalent registry for non-corporate entities</Description> 
 </Option>
- <Option>
 <ID>784</ID> 
 <Value>politicalPartyRegistry</Value> 
 <Title>Political Party Registry</Title> 
 <Description>Political Parties Registry</Description> 
 </Option>
- <Option>
 <ID>785</ID> 
 <Value>passport</Value> 
 <Title>Passport/Citizenship ID</Title> 
 <Description>Passport or Citizenship ID</Description> 
 </Option>
- <Option>
 <ID>786</ID> 
 <Value>other</Value> 
 <Title>Other</Title> 
 <Description>Other</Description> 
- <Requires>
- <Attribute>
 <ID>70</ID> 
 <Name>asia_otheridentform</Name> 
 </Attribute>
 </Requires>
 </Option>
 </Options>
 </Attribute>
- <Attribute>
 <ID>68</ID> 
 <Name>asia_ident:number</Name> 
 <Application>2</Application> 
 <UserDefined>True</UserDefined> 
 <Required>1</Required> 
 <Description>Form of Identity ID Number/Code of Reference</Description> 
 <IsChild>0</IsChild> 
 <Options /> 
 </Attribute>
- <Attribute>
 <ID>69</ID> 
 <Name>asia_otherletype</Name> 
 <Application>2</Application> 
 <UserDefined>True</UserDefined> 
 <Required>0</Required> 
 <Description>Other Entity Type</Description> 
 <IsChild>1</IsChild> 
 <Options /> 
 </Attribute>
- <Attribute>
 <ID>70</ID> 
 <Name>asia_otheridentform</Name> 
 <Application>2</Application> 
 <UserDefined>True</UserDefined> 
 <Required>0</Required> 
 <Description>Other Identification Form</Description> 
 <IsChild>1</IsChild> 
 <Options /> 
 </Attribute>
 </Attributes>
 <Command>GETEXTATTRIBUTES</Command> 
 <Language>eng</Language> 
 <ErrCount>0</ErrCount> 
 <ResponseCount>0</ResponseCount> 
 <MinPeriod>1</MinPeriod> 
 <MaxPeriod>10</MaxPeriod> 
 <Server>Reseller1</Server> 
 <Site>eNom</Site> 
 <IsLockable>True</IsLockable> 
 <IsRealTimeTLD>True</IsRealTimeTLD> 
 <TimeDifference>+07.00</TimeDifference> 
 <ExecTime>0.438</ExecTime> 
 <Done>true</Done> 
- <debug>
- <![CDATA[ 
 ]]> 
 </debug>
 </interface-response>

Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...
That works perfectly, thank you gulfam :)

 

Ummm... am I missing something? I added the line...

 

.asia|http://www.whois-tools.com/domain-check/index.php?domain=|HTTPREQUEST-NO MATCH

 

... to the whoisservers.php file and still I receive the same error [Extended attribute: asia_cclocality is required.] when attempting to register .asia domains via WHMCS/Enom.

 

Please let me know what I am overlooking if anything.

 

Cheers,

 

Rob

 

EDIT: Whoops! please ignore me. I am half asleep. The line works just fine :D

Link to comment
Share on other sites

EDIT: Whoops! please ignore me. I am half asleep. The line works just fine :D

 

Correct me if I'm wrong - but I take this to mean the "line works just fine" as far as whois lookups only, right? We *still* can't register .asia domain names through Enom with WHMCS?

Link to comment
Share on other sites

  • 1 month later...
Correct me if I'm wrong - but I take this to mean the "line works just fine" as far as whois lookups only, right? We *still* can't register .asia domain names through Enom with WHMCS?

 

Sorry for the delay in replying Troy.

 

You are correct, I meant to say the Whois lookups work fine but still no go with registration.

 

I have also just now upgraded to 3.7.2 and now i am receiving the following error when attempting to register a .asia domain.

 

An Error Occured

Could not connect to Server - Please try again later

 

Any ideas? Anyone?

Link to comment
Share on other sites

Hi, I would like to start offering .asia and .me domain registrations through WHMCS but I these 2 TLDs don't seem to be supported in my current version 3.6.2. Have these been added in 3.7.2? If not, can someone please provide clear instructions on how to integrate these 2 additional TLDs into WHMCS so that they may be registered through Enom?

 

Many thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated