The create command allows you to register a domain name or to create an account or nameserver object to link to domain names.
The process to register a domain name is as follows:
- Either use an existing registrant contact or create a new one using the standard <contact:create> operation. Details on this are available in RFC 5733.
- Create the domain name using the standard <domain:create> operation. Details on this are available in RFC 5731.
- The registrant contact identifier should be defined in the <domain:registrant> field.
- The nameservers can be set using <domain:hostObj> fields.
- If the <domain:period> field is used then it must be set to 2y or 24m.
- The <domain:contact> fields should not be used.
- The <domain:authInfo> field is mandatory for EPP standard but is not used by our systems.
To register a registrant account, fields must be set as follows:
- If the registrant is an individual then the <contact:name> should contain the registrant's name and the <contact:org> should either be blank or identical to <contact:name>.
- If the registrant is an organisation then the <contact:org> field should contain the registrant's name and the <contact:name> must contain the main administrative contact for the registrant.
- In all cases, the registrant's name is taken from the <contact:org> field and is populated from the <contact:name> field if not present.
- The <contact:addr> must contain the registrant's address. This is the address that will be used for the whois.
- The optional <contact:voice> may contain a phone number for the main administrative contact.
- The optional <contact:fax> is ignored.
- The <contact:email> address must contain the registrant's email address.
- The <contact:authInfo> element is a mandatory field for the EPP standard but is unused by our system.
- The <contact:disclose> element should not be used.
To register a nameserver, fields must be set as follows:
- The name given in <host:name> must not already exist for the registrar.
- Only a single <host:addr ip="v4"> record is accepted per nameserver object.
- Only a single <host:addr ip="v6"> record is accepted per nameserver object.
Registrations can be made using only the fields provided by the standard objects. However the use of some optional fields will require an extension object. These are detailed below.
Domain extensions
The standard <domain> object can be used to specify the domain name to be registered along with the registrant account and nameservers.
The
schema
http://www.nominet.org.uk/epp/xml/domain-nom-ext-1.1 can be used to specify further optional domain fields. It contains the following fields for the create operation:
- first-bill
- recur-bill
- auto-bill
- next-bill
- notes
- reseller
Account extensions
The standard <contact> object can be used to specify the registrant name, address, contact name, contact phone numbers and email address. Further information on this is here.
The schema
http://www.nominet.org.uk/epp/xml/contact-nom-ext-1.0 can be used to specify optional account fields. It contains the following fields for the create operation:
- trad-name
- type
- co-no
- opt-out