It is possible to interface with eNom’s URL interface easily using the supplied COM object named Enom.EnomURL in the file URLInterface.dll.
Installing the object
Copy the URLInterface.dll file to a directory on the machine you will be using it on, and register it using regsvr32.exe at a DOS prompt in that directory. There are two registry entries in HKEY_LOCAL_MACHINE/SOFTWARE/Enom/URL Interface/, “ServerIP” (the address of the server to connect to) and “ServerURL” (the page to request on the server). We will provide you with the IP of the server you need to connect to.
A transaction with the COM object consists of the following
You will find a list of required properties for each command below, along with the method to call to invoke that command. To check for errors, you need to call the Response method.
The Response method obtains values that were returned to the COM object during the transaction with eNom. The eNom server will return a number of name & value pairs. To retrieve one, use the following syntax:
Value = (obj name).Response( Name )| RRPCode | Result code for the operation |
| RRPText | Text string describing code |
| Sld | Second level domain name |
| Tld | Top level domain name |
| RRPCode: | |
| 210 | Domain available |
| 211 | Domain not available |
| Domain<x> | Full domain name that was checked |
| RRPCode<x> | RRP code for this domain check |
| RRPText<x> | RRP text for this domain check |
| Uid | Your username |
| Pw | Your password |
| Sld | Second level domain name |
| Tld | Top level domain name |
| RegisterYears | Number of years to register the name for (1-12). If this is not specified, the default specified for your account is used instead. |
| RegistrantAddress1 RegistrantAddress2 RegistrantCity RegistrantCountry RegistrantEmailAddress RegistrantFax RegistrantFirstName RegistrantJobTitle RegistrantLastName RegistrantOrganizationName RegistrantPhone RegistrantPostalCode RegistrantStateProvince RegistrantStateProvinceChoice |
Registrant contact information |
| TechAddress1 TechAddress2 TechCity TechCountry TechEmailAddress TechFax TechFirstName TechJobTitle TechLastName TechOrganizationName TechPhone TechPostalCode TechStateProvince TechStateProvinceChoice |
Technical contact information |
| AdminAddress1 AdminAddress2 AdminCity AdminCountry AdminEmailAddress AdminFax AdminFirstName AdminJobTitle AdminLastName AdminOrganizationName AdminPhone AdminPostalCode AdminStateProvince AdminStateProvinceChoice |
Administrative contact information |
| AuxBillingAddress1 AuxBillingAddress2 AuxBillingCity AuxBillingCountry AuxBillingEmailAddress AuxBillingFax AuxBillingFirstName AuxBillingJobTitle AuxBillingLastName AuxBillingOrganizationName AuxBillingPhone AuxBillingPostalCode AuxBillingStateProvince AuxBillingStateProvinceChoice |
Auxiliary contact information |
| Uid | Your username |
| Pw | Your password |
| Sld | Second level domain name |
| Tld | Top level domain name |
| Uid | Your username |
| Pw | Your password |
| Sld | Second level domain name |
| Tld | Top level domain name |
| Pageurl | URL to forward www.<sld>.<tld> to |
| Uid | Your username |
| Pw | Your password |
| Reference | The same reference number you passed to the original command. |
| Uid | Your username |
| Pw | Your password |
| Sld | Second level domain name |
| Tld | Top level domain name |
| Field Name | Maximum Length |
| *OrganizationName | 60 |
| *JobTitle | 60 |
| *FirstName | 60 |
| *LastName | 60 |
| *Address1 | 60 |
| *Address2 | 60 |
| *City | 60 |
| *StateProvince | 60 |
| *StateProvinceChoice ("State" or "Province") | 20 |
| *PostalCode | 15 |
| *Country | 60 |
| *Phone | 20 |
| *Fax | 20 |
| *EmailAddress | 128 |
| Uid | 20 |
| Password | 20 |
| SLD | 63 |
| TLD | 15 |
| Email (AddEmail()) | 30 |
| ForwardToEmail (AddEmail()) | 130 |
| NameServer (AddNameServer()) | 60 |
| PageURL | 130 |