domain_register
Register a subdomain under a suffix and charge points (idempotency: concurrent duplicate registrations are rejected server-side; failures roll back the charge). Registration must be enabled site-wide; per-user quota and balance are enforced. Nameservers are required (2-4 hostnames; predefined provider sets or custom) UNLESS the suffix forbids external NS (externalNsForbidden) — such suffixes are wired to site DNS hosting automatically at registration; passing nameservers to them is rejected. Pricing follows the suffix label-length tiers: labels within a premium tier's maxLen are charged that tier's price, and renewals match the registration price of the current tier; suffixes with IDN registration disabled reject Unicode and punycode (xn--) labels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | label to register (unicode or ASCII form) | |
| years | Yes | registration term in years (1-3, site policy cap) | |
| suffixId | Yes | suffix id from domains_suffixes | |
| dsRecords | No | DS records for DNSSEC. Only allowed when dnssecEnabled=true (cleared automatically when DNSSEC is off). | |
| nameservers | No | Nameserver hostnames (2 to 4 entries, required). | |
| dnssecEnabled | No |