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.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.af
Domain Renewal(API Command reference » RenewDomain)
command = RenewDomain domain = yourdomain.af period = (INT) expiration = (INT)
Domain Deletion(API Command reference » DeleteDomain)
COMMAND = DeleteDomain DOMAIN = yourdomain.af
Domain Transfer(API Command reference » TransferDomain)
command = TransferDomain domain = yourdomain.af action = REQUEST auth = (TEXT)
- A .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 .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.af