CentralNic Reseller Homepage
CentralNic Reseller Homepage

.day

API commands

Please find in the following a set of the most commonly used standard API commands in order to register, modify, renew, and transfer a domain name.

Domain Registration

(API Command reference » AddDomain)

.day is an encrypted-by-default TLD by virtue of being inscribed in the HSTS Preload list. As such, all second-level domains under .day will only load on modern browsers if a valid SSL certificate has been configured and the web server is serving HTTPS. This behavior of .day must be clarified to registrants. A respective notification must be integrated as part of the registration flow and presented prior to purchase. It cannot be embedded in other terms of service, nor require the registrant to follow a link to obtain the information. You may use the following sample text of the registry for the notice. On demand of the registry, the reseller will have to provide screenshots of the purchase flow including the notice. You have to confirm that you have understood and will comply to these requirements by transmitting the parameter X-ACCEPT-SSL-REQUIREMENT = 1.

Sample text:

.day is a more secure domain, meaning that HTTPS is required for all .day websites. You can buy your .day domain name now, but in order for it to work properly in browsers you must first configure HTTPS serving. For more information about configuring HTTPS, including resources to obtain an SSL certificate, please visit [link to registrar page on SSL, or Let’s Encrypt]. [Follow by registrar option to add certificate to cart.]

Please note: The SSL requirement is enforced at the browser level, so there is no mandated order of purchase. The HSTS Preload list, to which .day is inscribed, only forces encryption on HTTPS connections, thus, .day domain names that do not have an SSL certificate configured may still be used for other services like e-mail and non-browser based uses such as defensive registrations.

Exception
command = AddDomain
domain = yourdomain.day
period = 1
ownercontact0 = (CONTACT)
admincontact0 = (CONTACT)
techcontact0 = (CONTACT)
billingcontact0 = (CONTACT)
nameserver0 = (NAMESERVER) | (NULL)
nameserver1 = (NAMESERVER) | (NULL)
X-ACCEPT-SSL-REQUIREMENT = 1

Domain Modification

(API Command reference » ModifyDomain)
Command
command = ModifyDomain
domain  = yourdomain.day

Domain Renewal

(API Command reference » RenewDomain)
Command
command    = RenewDomain
domain     = yourdomain.day
period     = (INT)
expiration = (INT)

Domain Deletion

(API Command reference » DeleteDomain)
Command
COMMAND = DeleteDomain
DOMAIN = yourdomain.day

Domain Transfer

(API Command reference » TransferDomain)
Command
command = TransferDomain
domain = yourdomain.day
action = REQUEST
auth = (TEXT)

Transfer procedure

  • The transfer is submitted to the registry and the losing registrar is automatically notified by them.
  • The losing registrar sends an email to the owner (and optionally admin) contact, informing about the transfer; this may include options to approve and/or deny the transfer. If neither explicitly approved nor denied, the transfer will be automatically finalized after 5 days.

Transfer notes

  • A .day domain transfer must be initiated with a so-called authorisation code, (auth-code) which can be obtained from the current registrar through the owner/admin contact of the domain.
  • Ensure that your respective domain does not have a lock-status (clientTransferProhibited and/or serverTransferProhibited). This can be seen in WHOIS.
  • If the domain has a client-side transfer lock, the owner can ask the current registrar to have the lock removed.

These procedures only apply for domain transfers between registrars. For internal transfers between resellers, please consult our documentation about internal transfers/usertransfers.

Domain Restore

(API Command reference » RestoreDomain)
Command
command = RestoreDomain
domain  = yourdomain.day

Domain Extensions

X-ACCEPT-SSL-REQUIREMENT1

Confirmation that the process required for the registration is implemented on the reseller side and the respective options are presented to the registrant prior to the registration.

Domain Restrictions

Registration Policy Notice:
Registrars are required to display a notice to registrants stating the use restrictions for .day.

Sample text:
.day is a restricted domain space in which all domains must be used for action generation or online content creation flows. .day domains must be active within 100 days from the registration date. Domain names that do not comply with these requirements may be placed on ServerHold or deleted for non-compliance.

Supported IDN Scripts

The following IDN scripts are supported by .day.
Provide the LANGUAGE TAG corresponding to your desired IDN within the AddDomain command as X-IDN-LANGUAGE extension.

JapaneseJP

Get more information of "IDN tables", which represent permitted code points (letters) allowed for Internationalised Domain Name registrations in particular registries on IANA Repository of IDN Practices.

We reallydomains
-