Skip to content

Sell DNS hosting for a domain

A DNS hosting product sells one DNS zone. When the order is activated, ClientFence creates the zone at the DNS provider set on the product, and the client manages its records on the service page. It needs no hosting account. To check the DNS of a hosting account’s domains instead, see Check hosting domain DNS status.

  1. Go to Products → Products & Services and select New Product.
  2. For Type, choose DNS hosting, pick a Category and a Title, then select Create.
  3. Set the status and the price on General Settings, as for any product. See Products.
  4. On the Configuration tab, choose the DNS provider. Only that provider’s fields show: fill them in from the table below and select Save DNS settings.
Provider What to enter
Cloudflare API token or key: an API token, or your email address and global API key separated by a colon (you@example.com:key). Cloudflare account ID: the 32-character ID of the account the zones go in.
PowerDNS API token or key: the API key of your PowerDNS server. PowerDNS API address: the address of its API without /api/v1, such as https://dns.example.com:8081. Nameservers: your nameservers, one per line (required). PowerDNS SOA email address: optional, the contact address in each new zone’s SOA record.
Hetzner DNS API token or key: an API token of the Hetzner Console project that holds your zones, with write access.
ClouDNS ClouDNS authentication ID (digits only) and ClouDNS authentication password.
DigitalOcean API token or key: a DigitalOcean API token.
deSEC API token or key: a deSEC token.

The token must be allowed to create and delete zones and change their records. Saved tokens and passwords are kept encrypted and never shown again: leave the field empty to keep them.

Nameservers are shown on the order form. Except for PowerDNS they are optional: Cloudflare, Hetzner DNS, deSEC and DigitalOcean give each new zone its own, and the client sees those. For ClouDNS, enter yours; without them the client sees the zone’s own NS records.

The DNS hosting part of a product’s Configuration tab with the DNS provider, API token, nameservers and the Save DNS settings button.

Products → a DNS hosting product → Configuration.

The client enters the Domain name the zone is for, such as example.com. One order is one zone, so there is no quantity. A zone can be ordered once: an order is refused when the same zone, or one above or below it (such as shop.example.com under example.com), already has an order that is not canceled. The zone is created at the provider when the order is activated, and the client gets an email that it is ready, with the nameservers to set at their registrar when they are known.

Staff can order DNS hosting for a client under Orders → Add New Order: the product’s line asks for the Domain. See Orders.

On the service page (Services, then the DNS service), an active order shows:

  • Nameservers to set at the domain registrar.
  • DNS records: every record of the zone, with a search box when there are more than eight. Add record opens a dialog: pick the Type, then the Name, Value, TTL and, for MX, the Priority. Edit (the pencil) changes a record’s value, TTL and MX priority; Delete removes it after a confirmation. Use @ as the name for the zone itself. Records the client cannot change, such as the NS and SOA records, show a lock.
  • DNSSEC, where the provider offers it, with the DS records to publish at the registrar. Turning it off asks first: remove the DS records at the registrar first.
Provider Record types the client can add DNSSEC
Cloudflare A, AAAA, CNAME, MX, TXT, DS On or off; shows the DS records
PowerDNS A, AAAA, CNAME, MX, TXT, SPF, DS On or off; shows the DS records
Hetzner DNS A, AAAA, CNAME, MX, TXT, DS Not shown
ClouDNS A, AAAA, CNAME, MX, TXT, SPF, DS On or off where ClouDNS offers it for the zone
DigitalOcean A, AAAA, CNAME, MX, TXT Not shown
deSEC A, AAAA, CNAME, MX, TXT, SPF, DS Always on; shows the DS records

Records of other types are listed but cannot be changed here. A DS record is for a subdomain delegated to other nameservers. The lowest TTL is 60 seconds at Hetzner DNS and 30 at DigitalOcean; ClouDNS takes only its own TTL values, such as 300, 3600 or 86400.

Authorized users need View services to see the records and Manage services (passwords, email accounts) to change them.

The client’s DNS records with Add record, the locked NS and SOA records, and Edit and Delete on the others.

The DNS records of a DNS hosting service in the client area.

Open the order under Orders. Its Service Management tab shows the zone’s nameservers and records (read only) while the order is active or suspended. Staff need the View DNS records permission of DNS hosting for it.

Order action What happens at the provider
Activate Creates the zone.
Suspend / unsuspend Nothing: the zone keeps working, but the client cannot see or change its records while suspended.
Renew Nothing.
Cancel Deletes the zone with all its records.
Reactivate (a canceled order) Creates the zone again, without the old records.
Delete Deletes the zone.

New credentials saved on the product are used for its existing zones too. If you switch a product to another provider, its existing zones stay at the old one.

  • This DNS zone, or a zone above or below it, already has an order.: the zone is taken by another order.
  • This domain is already in the cart.: one checkout holds the same zone twice.
  • A zone above this one is already on the DNS server.: PowerDNS already has a parent zone.
  • The DNS provider could not be reached. or The DNS provider refused the request (HTTP …).: check the token, its permissions and, for PowerDNS, the API address.
  • DNS order is not active.: the records open only while the order is active.

Failed order actions are listed under Orders → Failed actions. See Failed actions.