Due to sanctions affecting Afghanistan, we are no longer able to accept new registrations, transfers-in, and explicit renewals of .af, org.af, com.af, and net.af domains.
Existing domains under our management will not expire. Once the expiration date is reached, they will remain active on your account with the same expiration date.
If, however, you want a domain to expire; you will need to send an explicit delete command, or reach out to our support team to complete this.
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)
command = AddDomain domain = yourdomain.com.af period = (INT) ownercontact0 = (CONTACT) admincontact0 = (CONTACT) techcontact0 = (CONTACT) billingcontact0 = (CONTACT) nameserver0 = (NAMESERVER) nameserver1 = (NAMESERVER)
Domain Modification(API Command reference » ModifyDomain)
command = ModifyDomain domain = yourdomain.com.af
Domain Renewal(API Command reference » RenewDomain)
command = RenewDomain domain = yourdomain.com.af period = (INT) expiration = (INT)
Domain Deletion(API Command reference » DeleteDomain)
COMMAND = DeleteDomain DOMAIN = yourdomain.com.af
Domain Transfer(API Command reference » TransferDomain)
command = TransferDomain domain = yourdomain.com.af action = REQUEST auth = (TEXT)
- A .com.af domain transfer can be initiated with a so-called authorisation code, which can be obtained from the current registrar through the owner or Admin-C of the domain.
- A .com.af domain transfer can also be initiated without authcode. The losing registrar has to confirm or reject the transfer of the domain within 7 days.
- A special transfer fee will be charged. A transfer does NOT include a renewal and will NOT extend the expiration date.
Domain Restore(API Command reference » RestoreDomain)
command = RestoreDomain domain = yourdomain.com.af