Skip to main content
An account holds domains bought through Uniac, with the DNS records it sets on them. A project’s routes serve one of its services’ HTTP at hostnames under a domain the account holds, such as www.example.com under example.com.

Domains

A domain belongs to the account, not to a project, so several projects can declare the same domain. Uniac buys it from its registrar for one year and registers it with Uniac as the registrant and WHOIS privacy on. The account holds the domain once it is registered.

Top-level domains

Uniac sells a top-level domain when its registrar sells it for one year with WHOIS privacy, asks for no registrant eligibility or other registry fields, needs no nameserver check before registration, takes ASCII names, and costs at most $100 a year, first year and renewal, card fee included. The set is read from the registrar each day, with a standard name’s one-year price and yearly renewal price under each. A top-level domain the registrar starts selling is sold within a day; one that stops meeting these terms is no longer sold to new purchases, and a domain already held under it stays held and renews. A top-level domain is named without its dot, in ASCII; an internationalized one by its punycode, such as xn--q9jyb4c. It may have more than one label, such as co.com, and a name falls under the longest sold one it ends in. A name the registry sells at a premium price costs more than the standard price, and Uniac does not sell it.

Offers

An offer says whether a name can be bought now, and at what price. It is computed on each read. Reading one name’s offer checks it at the registrar then; reading a label’s offers lists the label under every sold top-level domain, in name order, answered from the registries’ zones, which each registry refreshes twice a day. A name the account itself holds or is buying reads taken. A zone answer is shared across accounts for an hour and a live answer for five minutes. A purchase reads the name itself when it is requested and again when it is approved. Reads are counted in registrar lookups. One name’s offer costs one, or two under a top-level domain in a trademark claims period, and a label’s list costs one for every 500 sold top-level domains. An answer shared from an earlier read, by any account, costs none. An account has 100 lookups an hour; a read beyond them, or beyond the platform’s own hourly lookups, is refused until one frees.

Purchase

Requesting a domain the account does not have starts its purchase. The platform reads the name’s availability and its one-year price at the registrar, and, under a top-level domain in a trademark claims period, whether a trademark is registered for it. The price is the registrar’s price plus the card fee, and the yearly renewal price is set the same way: it is the registrar’s renewal price today, followed until 60 days before the expiry and then held until that renewal completes. The purchase then waits for a person to approve or decline it, at that price, in the dashboard. On approval, the availability and the trademark are read again, so a name taken or claimed meanwhile ends unavailable before any charge; then the account’s card is charged, and the domain is registered once the charge is paid. An account has at most 10 purchases requested or awaiting_approval at once; a decision, either way, frees a place. A purchase is decided only in the dashboard, by a person signed in to it. The dashboard’s bell lists the pending approvals, and its Approvals page, https://uniac.ai/approvals, lists them with Approve and Decline. Each states the name, the one-year price and the yearly renewal price, as in Buy example.com for one year for $11.63. It renews each year at the registrar's renewal price, $11.63 today, while auto-renew is on. The Domains page, https://uniac.ai/domains, lists the account’s domains: it retries a failed purchase, turns an active domain’s auto-renew on or off, and opens the Approvals page for a purchase awaiting approval. A retry starts a new purchase of a domain whose purchase failed (unavailable, declined, payment_failed or registration_failed), which waits for a person’s approval again. Deploying a composition that declares the domain leaves a failed purchase as it stands.

Renewal

A domain renews each year while its auto-renew is on, as it is from its request. From 30 days before its expiry, the renewal is charged at the renewal price held since 60 days before the expiry; a charge that is not paid is tried again a day later, until the expiry. Once the charge is paid, the registration is extended by one year. A renewal under way is charging, payment_failed until its next attempt, or renewing once paid. Only an active domain’s auto-renew changes. With auto-renew off, no renewal is charged, and the domain expires at the end of its registration; a renewal whose charge was already issued completes. Turning auto-renew off is how the account lets a domain go.

Deleting a domain

A domain is deleted while the account holds nothing for it and no money is owed or in flight: unavailable, declined, payment_failed or expired. The deletion removes it from every read, with its DNS records; routes that name it stay, with their hostnames refused (domain_not_held), and its invoices and decided approvals stay as history. In other phases the deletion is refused with the reason: a purchase awaiting approval is declined first, an active domain is let go by turning auto-renew off and deleted once it expires, and a registration_failed domain stays until its charge is refunded. The name can then be requested again, a new purchase that waits for a person again. Deploying a composition that still declares the domain requests it, so a domain meant to stay gone leaves the composition too.

DNS records

A held domain carries the DNS records the account sets on it, for email and for proving the domain to other services. Each record has an id. A record never takes a hostname a route serves. A CNAME shares its name with no other record. A DKIM key longer than 255 characters, such as a 2048-bit key, is set as the CNAME the mail provider offers for it, such as selector1._domainkey pointing to the provider’s key. Each record has a TTL of 300 seconds, and a domain has at most 20 records. A record is changed by removing it and adding the new one. Removing a record takes it out of every read at once, and its entry at the registrar after.

Routes

A route belongs to a project and serves the HTTP of one of its services, at a port, for hostnames under a domain the account holds. Its name is a DNS label, unique within the project. An account’s routes name at most 25 hostnames in all. A route is an exposure of its own: a service reached at a route’s hostnames needs no public endpoint, and its public endpoints keep their own addresses. A route can name a service the project does not have yet: its hostnames answer 404 until the service is deployed, and reach it from then on. A route’s state describes its hostnames and its service, not whether the application answers on the port.

Hostnames

A route holds a hostname when the account holds the route’s domain and no earlier route holds the hostname. One route across the platform holds each hostname: the earliest created route that names it. When that route lets the hostname go, the next route that names it takes it. A route’s other hostnames are served whatever happens to one of them. The holding is decided after each change to a route and to the account’s domains, so a route created while its domain’s purchase waits holds its hostnames once the domain is active. Uniac sets up each held hostname at its HTTP edge, its DNS record and certificate included. Once it is set up, the hostname reaches the service’s port at https://<hostname> while the project has the service.

Route lifecycle

A route stays until it is deleted, including after its declaration leaves the composition. An update replaces its whole configuration, and a hostname it keeps stays served throughout. Deleting a route stops serving its hostnames at once and removes their certificates; its domain stays with the account. Deleting the project deletes its routes.

YAML composition example

In YAML composition, a domain and a route are resources beside the service definitions and deployment declarations.
Deploying this composition requests example.com when the account does not have it, which starts its purchase, and creates the route storefront. Once a person approves the purchase and the domain is registered, the route holds both hostnames, and each reaches web on port 8080 at its https:// address once its certificate is set up. web declares no public endpoint, so the route’s hostnames are its public addresses.