RRPproxy Homepage
RRPproxy Homepage

.dk

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)
Exception
command         = AddDomain
domain          = yourdomain.dk
period          = (INT)
ownercontact0   = (CONTACT)
admincontact0   = (CONTACT)
techcontact0    = (CONTACT)
billingcontact0 = (CONTACT)
nameserver0	= (NAMESERVER)
nameserver1 	= (NAMESERVER)
X-DK-USER-TYPE = (TEXT)
X-DK-USER-ID-NUMBER = (TEXT)

After registration the owner will receive an email containing a login ID and pin code to login at the registry site to activate his domain name. If this is NOT done the domain will be DELETED after three(3) months.

Domain Modification

(API Command reference » ModifyDomain)

General modifications for .dk domains are only possible via the Hostmaster-DK Self Service in the .dk web interface.

Change of registrant

Changing the registrant of a .dk domain can currently only be done through the Hostmaster-DK web interface as explained on their website.

Domain Renewal

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

Please note: The registry will send a confirmation e-mail to the domain owner after the successful renewal.

Domain Deletion

DeleteDomain is not available for .dk TLDs.

.dk domain names can only be deleted through the Hostmaster-DK webinterface (no documents are required)

Domain Transfer

(API Command reference » TransferDomain)
Exception
command = TransferDomain
domain  = yourdomain.dk
action  = request
  • No authcode is required.
  • Domains in status "Deactivated" need to be reactivated by the registrant through Hostmaster-DK prior to the transfer; if reactivation fees occur due to a transfer of a deactivated domain, these will be passed to the reseller

Domain Restore

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

Domain Extensions

X-DK-USER-TYPECOMPANY | INDIVIDUAL | PUBORG | ASSOCIATION

This parameter is optional. If no value is set, COMPANY or INDIVIDUAL will be used depending on the organization field in the Contact Handle.

Domain Extensions for organisations or companies

X-DK-USER-ID-NUMBERThis parameter depends on the USER-TYPE. It is mandatory for companies, public organizations, and associations. Valid values are EAN (used by the public sector in Denmark for electronic invoicing), CVR (VAT number), or pnumber (production unit number)

Domain Restrictions

  • Name servers for .dk domain names must be approved by Hostmaster-DK before sending a registration request.
    • Register name server
    • All name servers in the .dk zone must be registered and approved by DK hostmaster.
    • To get this approval of name servers, the administrator must document the needed technical knowledge about dns, including setting up domain names on a name server. DK Hostmaster does not support setting up name servers.
    • As a part of the approving process, the applicant must allow zone transfer from the name servers to:
      • Name server at DK Hostmaster: hostcount.dk-hostmaster.dk
      • IPv4 address: 193.163.102.6
      • IPv6 address: 2a01:630:0:40:3:4:5:6
    • The form has become obsolete. Please use the Hostmaster-DK website instead. Approval of name servers will take a minimum of 2 work days to process. When the name servers are approved, the registry will notify you in an email.
  • For the change of nameservers please see procedure below
    • This section of DK Hostmasters website directs primary to DNS contacts
    • Existing name servers must be administrated, using the registry self service.
    • New name servers can be created using this link.
    • Change name servers IP address:
      • When a name server receives a new IP address, DK Hostmaster only needs to update this information, if the name server is a part of the .dk zone and the name server hosts its own domain.
      • If the name server is not in the .dk zone? It will not be possible to make the update in the .dk zone. The update must be performed in the name servers zone. Ex. .com, .org or .net.
      • Does the name server run its own domain? Changes of the name servers IP addresses must be updated, using registry self service.
      • How can I see if the name server is running its own domain? In this example, we use the registry name servers:
        • authns1.ngdc.net
        • auth01.dk-hostmaster.dk
        • auth02.dk-hostmaster.dk
        • all run our domain: dk-hostmaster.dk
    • As the name for two of the registry name servers both dk-hostmaster.dk, the registry says, they run their own domain. That is why changes of these name servers IP addresses, must be updated in the registry self service. The name server authns1.ngdc.net must be updated in the .net zone.
    • Changing the name of your name server If the name server is to given a new name, it must be registered, and approved by dk-hostmaster. After the approval, all domain names can be redelegated internally to the new name server. Then the old name server, can be removed from the .dk zone.

IDN Information

You can use all Danish characters in your .dk domain name. This means that you can use æ, ø and å in your domain name. You can also use the letters ö, ä, ü and é and numbers from 0 to 9 and - (negative sign used as a hyphen or substitute for spaces). Not all internet browsers and e-mail programs can handle domain names with the characters æ, ø, å, ö, ä, ü and é. If you wish to use the domain name for an e-mail address you should therefore avoid these characters.

Supported IDN Scripts

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

DanishDK

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.

Wedomains :)