# Sypnia Domains documentation > Sypnia Domains finds and registers the domain for your app, keeps its DNS and renews it, paid with your Sypnia credits. Your app, your e-mail and your API get their records and certificates without you touching DNS, and the domain is always yours to move. Every page of the documentation follows, in reading order. Each one starts with its title and its address. --- ## Start here > What Sypnia Domains is, how it works, what is open source and what is Sypnia Cloud, and the quickstarts. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/start/ For agents: Section index for Sypnia Domains: search and register domains (Amazon Route 53 Domains), DNS hosting (Route 53 hosted zones, DNSSEC), one-step connections to Run, Mail, Data and Files (records and certificates), automatic renewals, privacy, transfers in and out; engine open source with your AWS account; Sypnia Cloud paid with prepaid credits and final prices. Sypnia Domains finds and registers the domain for your app, keeps its DNS, renews it, and connects it to the rest of your Sypnia products without you writing a single record. > **Note: Sypnia uses it** > > sypnia.com and every Sypnia product address are kept in Sypnia Domains, which renews their DNS and certificates. - **\[Engine]** **The Sypnia Domains engine** is open source. It registers and manages domains with Amazon Route 53 in **your** AWS account, billed by AWS. - **\[Cloud]** **Sypnia Cloud** runs the same engine for you: you pay with your prepaid Sypnia credits, see the final price before buying, and connect each domain to Run, Mail, Data and Files in one step. * [What Sypnia Domains is](/start/what-it-is/): A registrar and DNS for your apps: search, buy, connect, renew, and always yours to move. * [How it works](/start/how-it-works/): From a search to a domain that serves your app. * [Open source and Sypnia Cloud](/start/open-source-and-cloud/): What the open-source engine does with your AWS account, and what Sypnia Cloud adds. * [Quickstart: Sypnia Cloud](/start/quickstart-cloud/): Find a name, buy it with credits and connect it to your app. * [Quickstart: your AWS account](/start/quickstart-self-host/): Run the engine against Route 53 in your own AWS account. * [How Sypnia uses it](/start/how-sypnia-uses-it/): Telemetry, the pilot, gets every one of its addresses from Sypnia Domains, and so do sypnia.com and the free sypnia.app addresses of every customer app. --- ## What Sypnia Domains is > A registrar and DNS for your apps: search, buy, connect, renew, and always yours to move. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/start/what-it-is/ For agents: What Sypnia Domains is: search (availability, endings, final first-year and renewal price), registration with credits and privacy, DNS zones/records/DNSSEC/API, connections to Run (site/API), Mail (sending domain), Files (cdn.), Data (api.) with certificates, automatic renewals from credits with reminders, ownership (you are the registrant, transfer lock, auth code anytime); for builders who do not want to learn DNS and for agents (person approves spending); optional for other products. > **In plain words** > > Your app needs an address people can remember: `laespiga.co` instead of a long technical link. Domains finds a free name, buys it for you, points it at your app and your e-mail, and renews it every year so it does not expire by accident. ### What you get | What | In one line | | ---------------- | -------------------------------------------------------------------------------------------------------------------------------- | | **Search** | Is the name free, in which endings, and the final price for the first year and for renewals | | **Registration** | Bought with credits in one step, with your contact data kept private where the ending allows | | **DNS** | A zone for each domain, records you can edit, DNSSEC, and an API for all of it | | **Connections** | One command points the domain at a Run app, verifies it for Mail, or serves Files or the Data API from it, certificates included | | **Renewals** | Automatic, paid from credits, with reminders well before the date | | **Ownership** | You are the registrant; transfer lock on; your code to move the domain out at any time | ### Before you have a domain You do not need one to start. Every [Run](https://run.docs.sypnia.com/config/addresses-and-domains) app gets a free address with its certificate, `.sypnia.app`, from the first deploy. `sypnia.app` is registered by Sypnia and listed in the Public Suffix List, so browsers treat each app as its own site. When you want your own name, buy or bring it here and connect it; the free address keeps working next to it. ### Every change stays in the history A purchase, a connection, a renewal or a DNS change is recorded in the project's history: who did it, from where (console, CLI, API, an agent) and what it changed. A DNS change can be [undone](https://domains.docs.sypnia.com/dns/zones-and-records) from there. ### Who it is for People building an app who do not want to learn DNS to put it on their own domain, and agents that set up a project end to end: an agent can search and prepare a purchase, and a person approves the spending. ### With the rest of Sypnia A domain bought here is ready for every Sypnia product in the same organization: [Run](https://run.docs.sypnia.com) for the site and the API, [Mail](https://mail.docs.sypnia.com) for sending from it, [Files](https://files.docs.sypnia.com) for a `cdn.` address, and [Data](https://data.docs.sypnia.com) for an `api.` address. Products can also be used with a domain registered elsewhere: Domains is optional. --- ## How it works > From a search to a domain that serves your app. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/start/how-it-works/ For agents: How Domains works: search (free endings, final first-year and renewal price) → quote (name, years, credits, registrant contact; holds 15 min) → buy (credits reserved, Route 53 registration; minutes to days; refused → credits released) → zone created + optional connection (Run address records + certificate validation, Mail DKIM/SPF/DMARC) → automatic renewal from credits with reminders. API https://domains.api.sypnia.com/v1; Route 53 Domains and hosted zones; Postgres for quotes, connections, history. #### 1. Search `domains search laespiga` asks the registry which endings are free and returns each one with its final price for the first year and its renewal price. #### 2. Quote Choosing one makes a **quote**: the name, the years, the price in credits, and the contact data that will be the registrant. A quote holds its price for 15 minutes. #### 3. Buy Confirming the quote reserves the credits and starts the registration with Amazon Route 53. Most endings finish within minutes; some take up to a few days. If the registry refuses, the credits are released. #### 4. Zone and connection When the registration completes, Domains creates the domain's DNS zone and, if you asked for one, the **connection**: for a Run app, the address records and the certificate validation; for Mail, DKIM, SPF and DMARC. #### 5. Renewal Before the domain expires, Domains renews it from your credits and tells you. If credits are short, you are reminded several times beforehand. ### Where things live | Thing | Where | | ---------------------------- | -------------------------------------------------------- | | The API | `https://domains.api.sypnia.com/v1` **\[Cloud]** | | Registrations | Amazon Route 53 Domains | | DNS zones | Amazon Route 53 hosted zones, four name servers per zone | | Quotes, connections, history | the engine's Postgres | --- ## Open source and Sypnia Cloud > What the open-source engine does with your AWS account, and what Sypnia Cloud adds. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/start/open-source-and-cloud/ For agents: Domains engine vs Cloud: engine uses Route 53 in your AWS account (AWS bill), Cloud uses Route 53 through Sypnia paid with prepaid credits at the final price shown; registrant is always you; DNS in Route 53 hosted zones; Cloud connects Sypnia products automatically and adds console, renewal reminders, agent spending limits; move between them with Route 53 transfer between AWS accounts (no registry transfer, no extra year, no downtime), records exported/imported. | | Engine **\[Engine]** | Sypnia Cloud **\[Cloud]** | | ------------------------------------------------- | ------------------------------------------------------------------- | ----------------------------------------------------- | | Registrar | Amazon Route 53 in your AWS account | Amazon Route 53, through Sypnia | | Who pays | your AWS bill | your prepaid Sypnia credits, at the final price shown | | Registrant | you | you | | DNS | Route 53 hosted zones in your account | Route 53 hosted zones managed by Sypnia | | Connections to Sypnia products | to your own engines, by API | automatic within your organization | | Console, renewal reminders, agent spending limits | API, CLI and MCP; reminders by webhook | included | | License | open source: the engine under AGPL-3.0, `@sypnia/domains` under MIT | a hosted service, paid in credits | ### Moving between them A domain registered in Sypnia Cloud can be moved to **your own AWS account** with Route 53's transfer between accounts, and from there managed by the engine: no registry transfer, no extra year, no downtime. A domain in your account can be moved the other way. The zone's records are exported and imported with it. --- ## Quickstart: Sypnia Cloud > Find a name, buy it with credits and connect it to your app. Applies to: Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/start/quickstart-cloud/ For agents: Domains Cloud quickstart: npx @sypnia/domains login; search laespiga (free/taken per ending, first-year and renewal price in credits); buy laespiga.co --connect run:laespiga shows quote (name, years, final price, renewal, registrant from billing profile or --contact) and asks to confirm; confirm registrant e-mail within 15 days or suspension; result registered, zone created, connected, certificate issued. #### 1. Search ```bash npx @sypnia/domains login npx @sypnia/domains search laespiga ``` **You should see:**A list such as `laespiga.co free first year … credits · renews at … credits`, one line per ending, with taken names marked. #### 2. Buy and connect ```bash npx @sypnia/domains buy laespiga.co --connect run:laespiga ``` The command shows the quote (name, years, final price, renewal price, the contact data that will be the registrant) and asks you to confirm. Your contact data is taken from your organization's billing profile; `--contact` uses another. #### 3. Confirm your e-mail Registries require the registrant's e-mail to be confirmed. If it was not confirmed before, you receive an e-mail; open its link within 15 days, or the domain is suspended until you do. #### 4. Open it **You should see:**`laespiga.co registered · zone created · connected to run:laespiga · certificate issued`. `https://laespiga.co` serves your app. --- ## Quickstart: your AWS account > Run the engine against Route 53 in your own AWS account. Applies to: the Sypnia engine (open source, self-hosted). Source: https://domains.docs.sypnia.com/start/quickstart-self-host/ For agents: Domains self-host quickstart: clone sypnia-domains, docker compose up (engine :7700, Postgres); IAM role/keys with deploy/iam-policy.json (Route 53 Domains + hosted zones only); domains use http://localhost:7700, search, buy; billed by AWS at AWS price; domains import brings existing domains and zones; purchases are non-refundable once accepted, confirmation on every purchase, --yes only in trusted scripts. ```bash git clone https://github.com/sespinosav/sypnia-domains && cd sypnia-domains docker compose up # engine on :7700 and Postgres ``` Give the engine an IAM role or keys with the policy in `deploy/iam-policy.json` (Route 53 Domains and Route 53 hosted zones, nothing else), then: ```bash npx @sypnia/domains use http://localhost:7700 npx @sypnia/domains search laespiga npx @sypnia/domains buy laespiga.co ``` The registration is billed to your AWS account by AWS, at AWS's price. The engine imports the domains and zones your account already has with `domains import`. > **Warning** > > Registering a domain spends money that cannot be returned once the registry accepts it. The engine asks for confirmation on every purchase; > > `--yes` > > skips it only in scripts you trust. > **Note** > > The repository lives in Sypnia Git, like all of Sypnia's code, with a mirror on GitHub at the address above. --- ## How Sypnia uses it > Telemetry, the pilot, gets every one of its addresses from Sypnia Domains, and so do sypnia.com and the free sypnia.app addresses of every customer app. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/start/how-sypnia-uses-it/ For agents: Dogfooding: the zones sypnia.com and sypnia.app belong to the organization sypnia in Sypnia Domains, with DNSSEC, transfer lock and privacy on, renewed from Sypnia's own credits with the 45-day set-aside and 30-day renewal like any customer. Telemetry (the pilot) names: telemetry.sypnia.com (landing), telemetry.docs.sypnia.com, telemetry.app.sypnia.com (console), telemetry.api.sypnia.com, telemetry.ingest.sypnia.com, each a Domains connection to its Run app (records + certificate, removed if the app goes away); telemetry.sypnia.com connected to Mail as the sending domain of alerts@telemetry.sypnia.com (DKIM, SPF, DMARC, bounce MX written by Domains). Every change is in the history with who and from where; an agent can propose DNS changes and prepare purchases, a person confirms. sypnia.app: wildcard records send .sypnia.app to Run and .files.sypnia.app to Files' content CDN; listed in the Public Suffix List. Rest of the suite: every product's .sypnia.com, .docs, .app, .api and mcp. addresses; auth.sypnia.com; mail.sypnia.com hosts (imap/smtp); ssh.git.sypnia.com with its SSHFP records. Telemetry is the pilot of the Sypnia suite: it is built on Sypnia from end to end and uses every Sypnia product. This is how it uses Sypnia Domains. ### How Telemetry uses Sypnia Domains | Address | What it is | How Domains keeps it | | --------------------------------------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | | `telemetry.sypnia.com` | the product's page | a [connection](https://domains.docs.sypnia.com/connect/run) to its Run app, with its certificate | | `telemetry.docs.sypnia.com` | Telemetry's documentation | a connection to its Run app | | `telemetry.app.sypnia.com` | the console people sign in to | a connection to its Run app | | `telemetry.api.sypnia.com`, `telemetry.ingest.sypnia.com` | the engine: its API, and the address every customer's app sends events to | connections to the engine's Run services | | `alerts@telemetry.sypnia.com` | where alerts and daily summaries come from | a [Mail connection](https://domains.docs.sypnia.com/connect/mail): DKIM, SPF, DMARC and the bounce records, written for it | - **One zone, one owner.** `sypnia.com` belongs to Sypnia's organization in Domains, the same way a customer's domain belongs to theirs: transfer lock on, contact data private, [DNSSEC](https://domains.docs.sypnia.com/dns/dnssec) on. - **Renewed like anyone's.** Sypnia's own credits are set aside 45 days before each expiry and the renewal is made at 30 days ([Renewals](https://domains.docs.sypnia.com/ownership/renewals)), with the same reminders a customer gets. - **Nothing left pointing at nothing.** If one of Telemetry's apps is ever removed from Run, its connection removes the records it wrote, so no name points at an address someone else could take. - **Every change in the history.** Who changed which record, from where, and how to undo it ([Zones and records](https://domains.docs.sypnia.com/dns/zones-and-records)). An agent can propose a change or prepare a purchase; a person confirms it. - **Self-hosted too.** A self-hosted Telemetry engine on your own domain can keep its zone in a self-hosted Domains engine in your AWS account, with the same connections to your own Run. ### The free addresses: `sypnia.app` `sypnia.app` is the other zone Sypnia keeps in Domains, and the one customers see first. It is registered by Sypnia and listed in the Public Suffix List, so every app on it is its own site to a browser, and nothing served there can touch the sessions of `sypnia.com`. | Record | Sends | | -------------------- | ------------------------------------------------------------------------------------------------------------------------------ | | `*.sypnia.app` | each app's free address, `.sypnia.app`, to [Sypnia Run](https://run.docs.sypnia.com/config/addresses-and-domains) | | `*.files.sypnia.app` | each project's public files, `.files.sypnia.app`, to [Sypnia Files](https://files.docs.sypnia.com/images/cdn-and-caching) | ### The rest of the suite | Product or site | Its addresses in Sypnia Domains | | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | | sypnia.com and every product | `.sypnia.com`, `.docs.sypnia.com`, `.app.sypnia.com`, `.api.sypnia.com` and `mcp..sypnia.com` | | The Sypnia account | `auth.sypnia.com` and `app.sypnia.com` | | [Git](https://git.docs.sypnia.com/) | `ssh.git.sypnia.com`, with the SSHFP records that let you check its fingerprints | | [Mail](https://mail.docs.sypnia.com/) | the hosts mail apps connect to, `imap.mail.sypnia.com` and `smtp.mail.sypnia.com` | ### What it proves If a renewal fails, a certificate lapses or a connection leaves a record behind, every Sypnia address is at risk, Telemetry's first. Sypnia runs on its own domains so it feels that before any customer does. --- ## Search and buy > Finding a name, prices, buying with credits, and the contact data a registry requires. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/buy/ - [Search](/buy/search/): Which names are free, in which endings, and suggestions when yours is taken. - [Prices and quotes](/buy/prices-and-quotes/): What you see is what you pay: first year, renewals, and how a quote holds a price. - [Buy with credits](/buy/buy-with-credits/): What happens to your credits from the quote to the registered domain, and who in your organization can buy. - [Contact data and privacy](/buy/contact-data/): The registrant data registries require, how it is kept private, and the e-mail you must confirm. --- ## Search > Which names are free, in which endings, and suggestions when yours is taken. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/buy/search/ For agents: Domains search: free text → valid names, checked in chosen TLDs (--tld) or popular ones; returns name, status (free, taken, reserved, unsupported), price.firstYear and price.renewal in credits, minYears, privacy support; suggestions when taken; IDN names with xn-- form; TLDs are those Route 53 registers (.com, .co, .net, .org, .app, .dev, .io, .store, many ccTLDs); some like .com.co not offered → register elsewhere and use DNS only. ```bash npx @sypnia/domains search "la espiga panadería" ``` Search turns what you type into valid names (`laespiga`, `laespigapanaderia`), checks them in the endings you choose (`--tld co,com,app`) or the popular ones, and returns: | Field | Meaning | | ---------------------------------- | ---------------------------------------------------------------------------- | | `name` | the full domain | | `status` | `free`, `taken`, `reserved` (the registry does not sell it) or `unsupported` | | `price.firstYear`, `price.renewal` | final prices in credits | | `minYears` | the shortest registration the ending allows | | `privacy` | whether the ending allows hiding the registrant's data | When a name is taken, `suggestions` lists close names that are free. A name that contains «sypnia» shows as `reserved`: the [trademark policy](https://telemetry.docs.sypnia.com/licensing/trademarks) keeps product, company and domain names with Sypnia in them for those who have asked for permission at . Names with accents (`panadería.co`) are supported as internationalized names where the ending allows them, and shown next to their `xn--` form. ### Endings Domains offers the endings Amazon Route 53 registers, among them `.com`, `.co`, `.net`, `.org`, `.app`, `.dev`, `.io`, `.store` and many country endings. Some country endings (for example `.com.co`) are not offered by the registrar; for those, register elsewhere and use Sypnia for [DNS only](https://domains.docs.sypnia.com/dns/dns-only-and-registration-only). --- ## Prices and quotes > What you see is what you pay: first year, renewals, and how a quote holds a price. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/buy/prices-and-quotes/ For agents: Domains prices: final in credits, nothing added at checkout; per TLD registration (first year/minYears), renewal (often different, always shown), transfer in (adds a year), restore (after redemption); prices may change with registries, renewal uses price of the day; quotes fix name, years, total and registrant for 15 minutes, buying always via quote, 410 quote_expired; no refunds once the registry accepts, except a mistake of ours (wrong name or years, double charge: credits returned, never money); refused → nothing charged. ### The price you see Every price in Domains is **final**, in credits: what is shown is what is charged, with nothing added at checkout. Each ending has: | Price | When it applies | | ---------------- | ------------------------------------------------------------------------------------- | | **Registration** | the first year (or the first `minYears`) | | **Renewal** | each following year; often different from the first year, and always shown next to it | | **Transfer in** | moving a domain from another registrar, which adds one year | | **Restore** | bringing back a domain that expired and entered redemption | Prices can change when registries change theirs; the price list shows the date of the last change, and a renewal uses the price of the day it is made. ### Quotes ```bash npx @sypnia/domains quote laespiga.co --years 2 ``` A quote fixes the name, the years, the total in credits and the registrant contact for **15 minutes**. Buying always goes through a quote, so the price confirmed is the price paid. An expired quote is refused with `410 quote_expired`; ask for a new one. ### No refunds once registered When the registry accepts a registration, the domain is yours for the years paid and the credits are spent: registries do not return the fee, so neither does Domains. If the registry refuses, nothing is charged. The one exception is a mistake of ours: if a registration went wrong because of Sypnia (the wrong name, the wrong years, a charge made twice), we return the credits, to your balance: never money. Write to support and a person looks at it. --- ## Buy with credits > What happens to your credits from the quote to the registered domain, and who in your organization can buy. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/buy/buy-with-credits/ For agents: Domains buy with credits: confirm quote reserves total (402 insufficient_credits otherwise, console offers top-up) → Route 53 registration followed until registry answers → charged on success, released on failure with reason; only owner/billing roles can buy/renew manually/transfer/restore, others request and an owner/billing approves; agents same with spending limits; --years 1–10 in one charge (registration price for first year, renewal price for the rest). #### 1. Reserve Confirming a quote reserves its total from your prepaid credits. Reserved credits cannot be spent on anything else. Without enough credits, the purchase is refused with `402 insufficient_credits` and the console offers to top up. #### 2. Register Domains asks Route 53 to register the name. The operation is followed until the registry answers. #### 3. Charge or release On success the reserved credits are charged and the domain appears in your organization. On failure (the name was taken a moment earlier, the contact was refused) the reservation is released and you are told why. ### Who can buy Buying, renewing manually, transferring and restoring spend credits, so only organization members with the **owner** or **billing** role can do them. Other members can search and request a purchase; the request waits for an owner or billing member to approve it. Agents follow the same rule with their own [spending limits](https://domains.docs.sypnia.com/security/agent-spending-limits). ### Several years `--years` from 1 to 10 registers more years at once at the registration price for the first and the renewal price for the rest, all in one charge. --- ## Contact data and privacy > The registrant data registries require, how it is kept private, and the e-mail you must confirm. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/buy/contact-data/ For agents: Domains contact data: registrant (owner; defaults to org billing profile), admin and tech contacts (same by default); registries require name, e-mail, phone, address, some TLDs more (tax id, local address); privacy protection on where allowed (WHOIS/RDAP show privacy service), some TLDs never allow it (search says so); ICANN registrant e-mail confirmation within 15 days or suspension, not asked again once confirmed; must be true and reachable; domains contact update; registrant change may lock transfers 60 days. Every registration has a **registrant**: the person or company that owns the domain. Registries require their name, e-mail, phone and postal address, and some endings ask for more (a tax id, a local address, a company number). | Contact | Who | Default | | ---------------------------- | ------------------------------------------ | ----------------------------------- | | Registrant | the owner of the domain | your organization's billing profile | | Administrative and technical | who the registry contacts about the domain | the same as the registrant | ### Privacy Where the ending allows it, **privacy protection is on**: public lookups (WHOIS and RDAP) show a privacy service instead of your data. Some endings never allow it, and the search says so before you buy. The registry and the registrar always keep the real data. ### Confirming the e-mail ICANN rules require the registrant's e-mail to be confirmed after a registration, a transfer or a change of registrant. You receive an e-mail from the registrar; open its link within **15 days**, or the domain is suspended (it stops resolving) until you do. A registrant e-mail confirmed once is not asked again for later domains. ### Keep it true The registrant must be real and reachable: a domain with false data can be suspended by the registry. Change it with `domains contact update`; changing the registrant may lock transfers for 60 days, as registries require. --- ## DNS > Zones, records, DNSSEC, and using Sypnia only for DNS or only for registration. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/dns/ - [Zones and records](/dns/zones-and-records/): Each domain's zone, the record types, and editing them by command, API or file. - [DNSSEC](/dns/dnssec/): Signing your zone so answers cannot be forged, and what to know before turning it on. - [DNS only, or registration only](/dns/dns-only-and-registration-only/): Use Sypnia for the DNS of a domain registered elsewhere, or keep your DNS where it is. --- ## Zones and records > Each domain's zone, the record types, and editing them by command, API or file. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/dns/zones-and-records/ For agents: Domains zones: four Route 53 name servers across TLDs; record types A, AAAA, ALIAS (apex to hostname e.g. Run app), CNAME, MX, TXT, CAA, SRV, NS, PTR; records ls/set (--ttl)/rm; changes applied as one batch, live in ~1 minute (set waits); history with who/where (console, CLI, API, agent, connection), records undo ; export/import zone file with preview of changes. Each domain has a **zone** with its records, served by four Route 53 name servers spread over different top-level domains, so one failing does not take the domain down. | Type | For | | ------------------ | -------------------------------------------------------------------------------------------------- | | `A`, `AAAA` | an address (IPv4, IPv6) | | `ALIAS` | the apex (`laespiga.co`) pointing at a hostname, such as a Run app, where a `CNAME` is not allowed | | `CNAME` | a subdomain pointing at another name | | `MX` | where e-mail for the domain goes | | `TXT` | verifications, SPF, DMARC | | `CAA` | which certificate authorities may issue for the domain | | `SRV`, `NS`, `PTR` | services, delegating a subdomain, reverse lookups | ```bash npx @sypnia/domains records ls laespiga.co npx @sypnia/domains records set laespiga.co www CNAME laespiga.co --ttl 300 npx @sypnia/domains records rm laespiga.co old TXT ``` ### Changes Each change is applied as one batch and is live on every name server in about a minute; `records set` waits for that and says so. The zone keeps a history of every change, who made it and from where (console, CLI, API, an agent, a connection), and `records undo ` reverts one. ### Records as a file `domains records export laespiga.co > zone.txt` writes the zone in the standard zone-file format, and `records import` applies a file, showing what will be added, changed and removed before doing it. --- ## DNSSEC > Signing your zone so answers cannot be forged, and what to know before turning it on. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/dns/dnssec/ For agents: Domains DNSSEC: dnssec enable creates signing key, signs zone, publishes DS at registry (registered in Sypnia); mistakes break resolution for validating resolvers; disable and wait 48 h before moving DNS or transferring out; off by default, suggested after first week; for external registrars prints DS to add. DNSSEC signs the zone's answers so a resolver can check they were not forged on the way. With a domain registered in Sypnia, turning it on is one command: Domains creates the signing key, signs the zone and publishes the `DS` record at the registry. ```bash npx @sypnia/domains dnssec enable laespiga.co ``` > **Warning** > > With DNSSEC on, a mistake breaks the domain for everyone who checks signatures. Before moving the domain's DNS elsewhere or transferring it out, run > > `dnssec disable` > > and wait 48 hours, so resolvers forget the old signatures. DNSSEC is **off by default** while the domain is new, and the console suggests it after the first week. For a domain registered elsewhere with DNS in Sypnia, `dnssec enable` prints the `DS` record to add at your registrar. --- ## DNS only, or registration only > Use Sypnia for the DNS of a domain registered elsewhere, or keep your DNS where it is. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/dns/dns-only-and-registration-only/ For agents: Domains DNS only: zones add prints four name servers to set at external registrar (e.g. .com.co); connections work the same; --import copies common records first. Registration only: domains nameservers set to another provider (e.g. Cloudflare); connections print records to add and check until present. ### DNS only Your domain stays at its registrar (for example one that sells `.com.co`) and Sypnia hosts its zone: ```bash npx @sypnia/domains zones add laespiga.com.co ``` The command prints four name servers; set them at your registrar. Once the registry points at them, connections to Run, Mail, Files and Data work as for a domain bought here. `zones add --import` first copies the records your current DNS answers for common names, so nothing stops working when you switch. ### Registration only The domain is registered in Sypnia and its DNS stays with another provider (for example Cloudflare). Set the name servers with `domains nameservers set laespiga.co ns1.example.net ns2.example.net`. Connections then cannot write records: they print the records to add and check them until they appear. --- ## Connect to your products > One step for Run, Mail, Data and Files: records and certificates set for you. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/connect/ - [Connections](/connect/connections/): What a connection is, what it writes, and how it is undone. - [Run](/connect/run/): Serve a Run app on your domain, at the apex and on www. - [Mail](/connect/mail/): Send and receive e-mail from your domain without touching DKIM, SPF or DMARC. - [Data and Files](/connect/data-and-files/): Your own api. and cdn. addresses for the Data API and Files content. --- ## Connections > What a connection is, what it writes, and how it is undone. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/connect/connections/ For agents: Domains connections: connect run: | mail | files: | data:; asks product what it needs, writes owned records labeled with the connection, waits for product confirmation (certificate, verification) → connected; manual edit of owned records asks confirmation and marks drifted, connections repair; disconnect removes exactly those records; deleted resource → records removed the same minute (prevents subdomain takeover). A **connection** links a domain or subdomain to a Sypnia resource and owns the records that make it work: ```bash npx @sypnia/domains connect laespiga.co run:laespiga npx @sypnia/domains connect laespiga.co mail npx @sypnia/domains connect cdn.laespiga.co files:public npx @sypnia/domains connect api.laespiga.co data:laespiga npx @sypnia/domains connections ls laespiga.co ``` ### What it does 1. It asks the product what it needs (addresses, verification tokens, certificate validation). 2. It writes those records in the zone, marked as owned by the connection. 3. It waits for the product to confirm (the certificate is issued, the domain is verified) and reports `connected`. ### Owned records Records written by a connection are labeled with it. Editing one by hand asks for confirmation and marks the connection `drifted`, which the console shows; `connections repair` writes them again. `disconnect` removes exactly those records and nothing else. ### When the resource goes away If the Run app, the Mail domain or the Files bucket is deleted, the connection removes its records the same minute, so no name is left pointing at something that no longer exists, which is how subdomain takeovers happen. --- ## Run > Serve a Run app on your domain, at the apex and on www. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/connect/run/ For agents: Domains connect to Run: apex ALIAS to app edge address, www CNAME (Run redirects www→apex or --primary www), certificate validation CNAME, CAA for Amazon CA if none; certificate within minutes; subdomain gets CNAME; previews with wildcard *.preview. --previews. `connect laespiga.co run:laespiga` writes: | Record | Value | | ------------------------------------------- | ---------------------------------------------------------------------------------------- | | `laespiga.co ALIAS` | the app's edge address | | `www.laespiga.co CNAME` | `laespiga.co` (and Run redirects `www` to the apex, or the reverse with `--primary www`) | | `_acme-challenge` or ACM validation `CNAME` | for the certificate | | `CAA` | allows Amazon's certificate authority, if the zone has no `CAA` yet | Run issues the certificate and starts serving the domain once validation passes, usually within a few minutes. A subdomain (`app.laespiga.co`) gets a `CNAME` instead of the `ALIAS`. A preview address per pull request can use a wildcard: `connect '*.preview.laespiga.co' run:laespiga --previews`. See also [Addresses and domains](https://run.docs.sypnia.com/config/addresses-and-domains) in the Run docs. --- ## Mail > Send and receive e-mail from your domain without touching DKIM, SPF or DMARC. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/connect/mail/ For agents: Domains connect to Mail: adds domain to Mail, writes 3 DKIM CNAMEs, MX + SPF TXT on bounce., DMARC TXT p=none; verified in minutes; --inbound on a subdomain writes receiving MX; never replaces apex MX if Google Workspace/M365; merges existing SPF/DMARC. `connect laespiga.co mail` adds the domain to Sypnia Mail in the same project and writes its three DKIM `CNAME`s, the return path's `MX` and SPF `TXT` on `bounce.laespiga.co`, and a DMARC `TXT` starting at `p=none`. Verification finishes in minutes. `connect reply.laespiga.co mail --inbound` also writes the `MX` for receiving, on the subdomain only. > **Warning** > > If the domain already receives e-mail in Google Workspace or Microsoft 365, Domains never replaces the apex > > `MX` > > : inbound for apps goes on a subdomain, and an existing SPF or DMARC record is merged, not duplicated. See also [Verify a domain](https://mail.docs.sypnia.com/domains/verify-a-domain) in the Mail docs. --- ## Data and Files > Your own api. and cdn. addresses for the Data API and Files content. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/connect/data-and-files/ For agents: Domains connect to Data and Files: api. data: → CNAME to project API + certificate validation; Data API and auth on api., auth e-mails and OAuth redirects use it; cdn. files: → CNAME to content host; public files, transforms and signed URLs served there; Files API stays on its host. | Command | Writes | Result | | --------------------------------------- | --------------------------------------------------------------------- | ------------------------------------------------------ | | `connect api.laespiga.co data:laespiga` | a `CNAME` to the project's API address and the certificate validation | the Data API and auth answer on `api.laespiga.co` | | `connect cdn.laespiga.co files:public` | a `CNAME` to the content host and the certificate validation | public files and image transforms on `cdn.laespiga.co` | Data's auth e-mails and OAuth redirects use the custom address once it is connected, so sign-in screens show your domain. For Files, only public buckets and signed URLs are served on the custom address; the API stays on its own host. --- ## Ownership and renewals > Automatic renewals, privacy, transfers in and out, and what happens if a renewal fails. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/ownership/ - [Renewals](/ownership/renewals/): Automatic renewal from credits, the reminders, and how credits are set aside for it. - [Expiry and recovery](/ownership/expiry-and-recovery/): What happens day by day after a domain expires, and how to get it back. - [Transfers in and out](/ownership/transfers/): Bring a domain from another registrar, or take yours anywhere. - [Locks and privacy](/ownership/locks-and-privacy/): The transfer lock, privacy protection, and changing the registrant. --- ## Renewals > Automatic renewal from credits, the reminders, and how credits are set aside for it. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/ownership/renewals/ For agents: Domains renewals: automatic by default 30 days before expiry at that day price from credits; reminders at 45 days (date, price, coverage), 30 (renewal or warning to owners/billing), 14/7/1 (repeat with top-up link), expiry → grace period; renewal price set aside from 45 days so other usage cannot spend it; autorenew off → expires unless domains renew; reminders still sent. Every domain renews automatically by default, **30 days before it expires**, at that day's renewal price, from your credits. ### Reminders | When | What | | ---------------------- | --------------------------------------------------------------------------------------------------- | | 45 days before | the renewal date and price, and whether your credits cover it | | 30 days before | the renewal is made, or, if credits are short, a warning to every owner and billing member | | 14, 7 and 1 day before | repeated warnings while the domain is still not renewed, with a top-up link | | on expiry | the domain enters its [grace period](https://domains.docs.sypnia.com/ownership/expiry-and-recovery) | ### Credits set aside From 45 days before, the renewal price is **set aside** from your credits so another product's usage cannot spend it. The console shows set-aside credits apart from free ones. ### Turning it off `domains autorenew off laespiga.co` stops automatic renewal: the domain expires on its date unless you renew it by hand with `domains renew`. The 45-day and 14-day reminders still arrive. --- ## Expiry and recovery > What happens day by day after a domain expires, and how to get it back. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/ownership/expiry-and-recovery/ For agents: Domains expiry: grace period (TLD-dependent, often 30–45 days; stops resolving; renew at normal price) → redemption (~30 days; restore at restore price shown before paying) → released (registry deletes, anyone can register); zone and records kept through grace and redemption, connections paused; some TLDs have shorter/no grace; domain page shows its dates. | Stage | How long | The domain | To get it back | | ---------------- | ------------------------------------------ | -------------------------------------------------- | -------------------------------------------------- | | **Grace period** | depends on the ending, often 30 to 45 days | stops resolving: your site and e-mail on it stop | renew at the normal renewal price | | **Redemption** | about 30 days | still yours, still not resolving | restore at the restore price, shown before you pay | | **Released** | — | the registry deletes it and anyone can register it | buy it again if it is still free | The zone and its records are kept through grace and redemption, so everything works again as soon as the domain is renewed or restored. Connections are paused, not removed. Some endings have no grace period or a shorter one; the domain's page shows its own dates. --- ## Transfers in and out > Bring a domain from another registrar, or take yours anywhere. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/ownership/transfers/ For agents: Domains transfers: in — unlock + auth/EPP code at current registrar, transfer-in shows quote (adds one year), approval may be needed, up to 5–7 days, --import-dns copies records first; 60-day lock after registration/transfer. Out — unlock, auth-code shown only to owners after re-confirmation with e-mail to every owner; zone stays for DNS until deleted. To own AWS account — domains move --to-aws-account (Route 53 inter-account transfer, minutes, no year added). ### Transfer in ```bash npx @sypnia/domains transfer-in laespiga.com --auth-code ``` 1. At your current registrar, unlock the domain and get its auth code (also called EPP code). 2. `transfer-in` shows the quote: the transfer price adds **one year** to the expiry date. 3. Your current registrar may ask you to approve; the transfer completes in up to 5 to 7 days. 4. With `--import-dns`, the records your current DNS answers are copied into a Sypnia zone first, so the site and e-mail do not stop. A domain registered or transferred in the last 60 days cannot be transferred again yet: registries forbid it. ### Transfer out ```bash npx @sypnia/domains unlock laespiga.co npx @sypnia/domains auth-code laespiga.co ``` The auth code is shown only to owner members, after confirming again, and every owner is notified by e-mail. Give it to the new registrar. When the transfer completes, the domain leaves your organization; its zone stays in Sypnia until you delete it, so you can keep using it for DNS. ### To your own AWS account `domains move laespiga.co --to-aws-account 123456789012` uses Route 53's transfer between accounts: it completes in minutes, adds no year, and the engine in your account takes over. See [Open source and Sypnia Cloud](https://domains.docs.sypnia.com/start/open-source-and-cloud). --- ## Locks and privacy > The transfer lock, privacy protection, and changing the registrant. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/ownership/locks-and-privacy/ For agents: Domains locks and privacy: transfer lock on by default (registry refuses transfers out), privacy on where allowed, auto-renew on; domains lock/privacy on; registrant change sends confirmation to old and new e-mails and may block transfers 60 days; moving to another Sypnia org = domains give --to-org accepted by receiving owner. | Setting | Default | Effect | | ---------------------- | --------------------------- | ---------------------------------------------------------- | | **Transfer lock** | on | the registry refuses transfers out until you unlock | | **Privacy protection** | on, where the ending allows | public lookups show a privacy service instead of your data | | **Auto-renew** | on | renews 30 days before expiry | ```bash npx @sypnia/domains lock laespiga.co npx @sypnia/domains privacy on laespiga.co ``` Changing the registrant (another person or company becomes the owner) sends a confirmation to both the old and the new registrant e-mails, and can block transfers out for 60 days, as registries require. Moving a domain to **another Sypnia organization** is a change of registrant done with `domains give laespiga.co --to-org `, accepted by an owner of the receiving organization. --- ## SDK, CLI and MCP > The @sypnia/domains package, the domains command and the MCP tools for agents. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/tools/ - [The @sypnia/domains package](/tools/sdk/): One npm package for servers and scripts. - [The CLI](/tools/cli/): Every domains command. - [MCP for agents](/tools/mcp/): The Domains MCP server, its tools, and why spending always waits for a person. --- ## The @sypnia/domains package > One npm package for servers and scripts. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/tools/sdk/ For agents: @sypnia/domains subpaths: /server (search, quotes, purchases, domains, records, connections, renewals, transfers), /zone (zone files, diff), CLI; createDomains({apiKey} or {baseUrl}); search, quote, buy({quoteId, connect}), operations.wait; purchases need purchase scope held by owner/billing; ESM + types; Node 20+, Bun, Deno. | Import | For | | ------------------------ | ----------------------------------------------------------------------------- | | `@sypnia/domains/server` | search, quotes, purchases, domains, records, connections, renewals, transfers | | `@sypnia/domains/zone` | reading and writing zone files, comparing two zones | | `npx @sypnia/domains` | [the CLI](https://domains.docs.sypnia.com/tools/cli) | ```ts import { createDomains } from '@sypnia/domains/server'; const domains = createDomains({ apiKey: process.env.SYPNIA_DOMAINS_KEY! }); // or { baseUrl } for your engine const results = await domains.search('laespiga', { tlds: ['co', 'com'] }); const quote = await domains.quote({ name: 'laespiga.co', years: 1 }); const op = await domains.buy({ quoteId: quote.id, connect: [{ to: 'run:laespiga' }] }); await domains.operations.wait(op.id); ``` Purchases need a key with the `purchase` scope, held by an owner or billing member. ESM with types, Node 20+, Bun and Deno. --- ## The CLI > Every domains command. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/tools/cli/ For agents: Domains CLI: login/logout/whoami/use; search --tld; quote/buy (--years, --connect, --contact); ls/show; records ls|set|rm|undo|export|import; zones add|rm, nameservers set; dnssec enable|disable|status; connect/disconnect/connections ls|repair; renew, autorenew; transfer-in, unlock, lock, auth-code, move, give; privacy, contact show|update; import (engine); --json; purchases confirm unless --yes. | Command | What it does | | ------------------------------------------------------------------------ | ------------------------------------------------------ | | `login` · `logout` · `whoami` · `use ` | Sign in (device flow) or point at an engine | | `search [--tld]` | Free names and final prices | | `quote [--years]`, `buy [--years] [--connect] [--contact]` | Quote and buy | | `ls`, `show ` | Your domains, dates, settings | | `records ls\|set\|rm\|undo\|export\|import` | DNS records | | `zones add\|rm`, `nameservers set` | DNS only, registration only | | `dnssec enable\|disable\|status` | DNSSEC | | `connect `, `disconnect`, `connections ls\|repair` | Connections | | `renew`, `autorenew on\|off` | Renewals | | `transfer-in`, `unlock`, `lock`, `auth-code`, `move`, `give` | Transfers | | `privacy on\|off`, `contact show\|update` | Privacy and contacts | | `import` | Bring domains and zones from your AWS account (engine) | `--json` on every command; purchases ask for confirmation unless `--yes`. --- ## MCP for agents > The Domains MCP server, its tools, and why spending always waits for a person. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/tools/mcp/ For agents: Domains MCP at https://mcp.domains.sypnia.com: OAuth (PKCE, DCR) or PAT; tools search_domains, get_quote, request_purchase (always approval in console or domains approve), list_domains/get_domain, list_records, set_record/delete_record (approval for apex, MX, NS and connection-owned records), connect_domain/disconnect_domain (approval to disconnect), renew_domain/request_transfer_in (always approval); get_auth_code, unlock_domain, give_domain not available to agents; spending limits; audited. `https://mcp.domains.sypnia.com` serves every organization you can reach. An agent signs in with your Sypnia account (OAuth with PKCE and dynamic client registration) or a personal access token. | Tool | Does | Needs approval | | ----------------------------------------------- | --------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | `search_domains` | free names and final prices | no | | `get_quote` | a quote for a name and years | no | | `request_purchase` | asks to buy a quote; a person approves it in the console or with `domains approve ` | always | | `list_domains`, `get_domain` | domains, dates and settings | no | | `list_records` | a zone's records | no | | `set_record`, `delete_record` | change records | records on the apex, `MX`, `NS` and records owned by a connection | | `connect_domain`, `disconnect_domain` | connections to Sypnia resources | disconnecting | | `renew_domain`, `request_transfer_in` | spend credits | always | | `get_auth_code`, `unlock_domain`, `give_domain` | | not available to agents | An agent can set up a whole project: find a name, prepare the purchase, and once a person approves, connect it to the app and to Mail. Approvals respect the agent's [spending limit](https://domains.docs.sypnia.com/security/agent-spending-limits). Every call is recorded. --- ## API reference > The Domains API: addresses, authentication, operations, errors and limits. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/api/ For agents: Domains API at https://domains.api.sypnia.com/v1; Bearer key with scopes read, dns, purchase (owner/billing only), admin; long operations return 202 + operation (GET /operations/{id} pending/succeeded/failed, webhook domains.operation.completed); error codes 400 invalid_request/invalid_name/tld_not_supported, 401, 402 insufficient_credits, 403 forbidden/needs_approval, 404, 409 not_available/transfer_locked/owned_by_connection, 410 quote_expired, 422 contact_invalid/auth_code_invalid, 429. API: `https://domains.api.sypnia.com/v1` **\[Cloud]**, or your engine's address **\[Engine]**. ### Authentication `Authorization: Bearer `. Keys belong to an organization and have scopes: `read` (search, quotes, domains, records), `dns` (change records and connections), `purchase` (buy, renew, transfer in; only for owner and billing members), `admin` (contacts, locks, keys). ### Operations Registrations, renewals and transfers take from seconds to days, so they return `202` with an **operation**: `GET /operations/{id}` gives `pending`, `succeeded` or `failed` with the reason, and a webhook `domains.operation.completed` is sent when it ends. ### Errors ```json { "error": { "code": "not_available", "message": "laespiga.co was registered by someone else a moment ago. Try: laespiga.com, laespigapan.co" } } ``` | Status | Codes | | ------ | --------------------------------------------------------- | | 400 | `invalid_request`, `invalid_name`, `tld_not_supported` | | 401 | `unauthorized` | | 402 | `insufficient_credits` | | 403 | `forbidden`, `needs_approval` | | 404 | `not_found` | | 409 | `not_available`, `transfer_locked`, `owned_by_connection` | | 410 | `quote_expired` | | 422 | `contact_invalid`, `auth_code_invalid` | | 429 | `rate_limited` | - [Endpoints](/api/endpoints/): Search, quotes, registrations, transfers, domains, zones, records and connections. --- ## Endpoints > Search, quotes, registrations, transfers, domains, zones, records and connections. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/api/endpoints/ For agents: Domains API endpoints: GET /search, GET /prices, POST /quotes, POST /registrations (202 op), POST /transfers (202 op), GET /operations/{id}; GET/PATCH /domains/{name}, POST renew/auth-code/move, PUT contacts/nameservers; zones GET/POST/DELETE, records GET, POST changes (batch) and undo, export/import, dnssec; connections GET/POST, repair, DELETE. ### Search, quotes and purchases | Method and path | Does | | ---------------------- | ----------------------------------------------------------------------- | | `GET /search?q=&tlds=` | Free names and final prices | | `GET /prices?tld=` | The price list | | `POST /quotes` | `{ name, years, contactId? }` → a quote valid for 15 minutes | | `POST /registrations` | `{ quoteId, privacy?, autoRenew?, connect? }` → `202` with an operation | | `POST /transfers` | `{ name, authCode, importDns? }` → `202` with an operation | | `GET /operations/{id}` | The state of an operation | ### Domains | Method and path | Does | | ------------------------------------- | ------------------------------------------------------------ | | `GET /domains`, `GET /domains/{name}` | Your domains, dates and settings | | `PATCH /domains/{name}` | `{ autoRenew?, locked?, privacy? }` | | `POST /domains/{name}/renew` | `{ years }` → `202` with an operation | | `POST /domains/{name}/auth-code` | The auth code to transfer out (owners only, re-confirmation) | | `POST /domains/{name}/move` | `{ awsAccountId }` | | `PUT /domains/{name}/contacts` | Registrant, administrative and technical contacts | | `PUT /domains/{name}/nameservers` | Name servers (registration only) | ### DNS | Method and path | Does | | ---------------------------------------------------------- | ------------------------------------------------------------------------------------ | | `GET /zones`, `POST /zones`, `DELETE /zones/{name}` | Zones, including DNS-only zones | | `GET /zones/{name}/records` | Records with their owner (you or a connection) | | `POST /zones/{name}/changes` | `{ changes: [{ action, name, type, ttl, values }] }` → one change batch, with its id | | `POST /zones/{name}/changes/{id}/undo` | Revert a change | | `GET /zones/{name}/export`, `POST /zones/{name}/import` | Zone files | | `POST /zones/{name}/dnssec`, `DELETE /zones/{name}/dnssec` | DNSSEC | ### Connections | Method and path | Does | | ----------------------------------------------------------- | --------------------------- | | `GET /domains/{name}/connections` | Connections and their state | | `POST /domains/{name}/connections` | `{ host, target }` | | `POST /connections/{id}/repair`, `DELETE /connections/{id}` | Repair, remove | The OpenAPI document is in the engine's repository, at `spec/openapi.yaml`. --- ## Architecture > How Sypnia Domains is built: its parts, where Rust runs, and how they connect. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/architecture/ For agents: Domains architecture: one Rust binary (axum, AWS SDK for Rust) with API, search/pricing, operations runner (registrations, renewals, transfers), DNS manager, connections manager, renewal scheduler, MCP; Postgres for domains, quotes, operations, desired zone state, connections; Route 53 Domains for registrations, Route 53 hosted zones for DNS; registrar and DNS adapters behind traits; Cloud credit ledger in the Sypnia account; console private. **Figure**: Sypnia Domains: the API, the engine's modules, the credit ledger, and Route 53 for registrations and DNS. 1. Your app, the CLI or an agent calls the Domains API. 2. Purchases reserve credits and start an operation with the registrar. 3. The DNS manager writes zones and records in Route 53. 4. Connections ask Run, Mail, Data and Files what they need, write it, and watch it. The engine is one Rust binary with the API, search and pricing, the operations runner (registrations, renewals, transfers), the DNS manager, the connections manager, the renewal scheduler and the MCP server. It keeps domains, quotes, operations, the desired state of every zone and the connections in Postgres. Registrations go to Amazon Route 53 Domains and zones to Route 53 hosted zones. In Sypnia Cloud, credits are reserved and charged through the Sypnia account's credit ledger. | Part | Language | Open source | | ------------------------------------------------------------------------ | --------------------------------- | ----------- | | Domains engine: API, search, operations, DNS, connections, renewals, MCP | Rust (axum, the AWS SDK for Rust) | yes | | Registrar and DNS adapters | Rust, one trait each; Route 53 | yes | | `@sypnia/domains` | TypeScript | yes | | Credit ledger and billing in Sypnia Cloud | part of the Sypnia account | no | | Console | TypeScript (React) | no | - [Request paths](/architecture/request-paths/): A purchase, a record change and a connection, step by step. - [Data model](/architecture/data-model/): The sypnia_domains schema: domains, contacts, quotes, operations, zones, records, connections and renewals. - [Reference implementation on AWS](/architecture/reference-implementation-aws/): Every AWS service Domains uses in Sypnia Cloud, and how. - [Failures and scaling](/architecture/failures-and-scaling/): What happens when the registrar, Route 53 or a renewal fails, and how Domains grows. - [Codebase](/architecture/codebase/): How the open-source repository is organized. --- ## Request paths > A purchase, a record change and a connection, step by step. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/architecture/request-paths/ For agents: Domains request paths: purchase — POST /quotes (CheckDomainAvailability, ListPrices, 15-min quote) → POST /registrations (purchase scope + role; reserve credits in same transaction as operation) → RegisterDomain (registrant, privacy, registrar auto-renew off; Domains drives renewals) → poll GetOperationDetail; SUCCESSFUL → charge, create hosted zone, set name servers, connections; FAILED → release. Record change — validate batch, ownership check, store desired state + history → one ChangeResourceRecordSets, wait INSYNC (~1 min). Connection — ask product requirements, write owned records, subscribe to product events, remove on deletion. ### A purchase 1. `POST /v1/quotes` checks availability and price with Route 53 Domains (`CheckDomainAvailability`, `ListPrices`) and stores a quote for 15 minutes. 2. `POST /v1/registrations` checks the key's `purchase` scope and the member's role, then **reserves** the quote's total in the credit ledger in the same transaction that creates the operation. 3. The operations runner calls `RegisterDomain` with the registrant contact, privacy and auto-renew off at the registrar (renewals are driven by Domains, from credits), and stores Route 53's operation id. 4. It polls `GetOperationDetail` with backoff. On `SUCCESSFUL` it **charges** the reservation, creates the hosted zone, sets the name servers, and starts any requested connections. On `FAILED` it **releases** the reservation. ### A record change 1. `POST /v1/zones/{name}/changes` validates the batch, checks ownership (a change to a connection's record needs confirmation), and stores the new desired state with its history entry. 2. The DNS manager sends one `ChangeResourceRecordSets` batch and waits until Route 53 reports `INSYNC`, usually within a minute. ### A connection 1. The connections manager asks the target product (Run, Mail, Data, Files) for its requirements: records and validations. 2. It writes them as owned records, then subscribes to the product's events (certificate issued, domain verified, resource deleted). 3. On a deletion event it removes its records at once. --- ## Data model > The sypnia_domains schema: domains, contacts, quotes, operations, zones, records, connections and renewals. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/architecture/data-model/ For agents: sypnia_domains schema: domains (registrar route53/external, expires_at, auto_renew, locked, privacy, state), contacts (email_verified_at), quotes (total_credits, expires_at), operations (kind, registrar_operation_id, state, credit_hold_id, error), zones (hosted_zone_id, name_servers, dnssec), records (desired state, owner user or connection), record_changes (before/after, actor, via), connections (host, target, state pending/connected/drifted/paused), renewal_plans (due_at, price_credits, set_aside_at, reminders_sent); hourly reconciler vs Route 53. | Table | Holds | Key columns | | ---------------- | ----------------------------------------- | --------------------------------------------------------------------------------------------------------------- | | `domains` | each domain of an organization | `org_id`, `name`, `registrar` (`route53`, `external`), `expires_at`, `auto_renew`, `locked`, `privacy`, `state` | | `contacts` | registrant and other contacts | `org_id`, `kind`, fields required by the ending, `email_verified_at` | | `quotes` | a price held for 15 minutes | `name`, `years`, `total_credits`, `contact_id`, `expires_at` | | `operations` | registrations, renewals, transfers, moves | `kind`, `domain`, `registrar_operation_id`, `state`, `credit_hold_id`, `error` | | `zones` | a hosted zone | `domain_id` (or a DNS-only name), `hosted_zone_id`, `name_servers[]`, `dnssec` | | `records` | the desired state of each record set | `zone_id`, `name`, `type`, `ttl`, `values[]`, `owner` (`user` or a connection id) | | `record_changes` | the history | `zone_id`, `before`, `after`, `actor`, `via`, `at` | | `connections` | domain ↔ resource | `host`, `target` (`run:…`, `mail`, `files:…`, `data:…`), `state` (`pending`, `connected`, `drifted`, `paused`) | | `renewal_plans` | the next renewal | `domain_id`, `due_at`, `price_credits`, `set_aside_at`, `reminders_sent[]` | The desired state in `records` is the truth; a reconciler compares it with Route 53 every hour and reports differences made outside Domains. --- ## Reference implementation on AWS > Every AWS service Domains uses in Sypnia Cloud, and how. Applies to: Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/architecture/reference-implementation-aws/ For agents: Domains on AWS: Route 53 Domains (availability, prices, registration, renewal, transfers, inter-account transfer, contacts, privacy, lock, auth codes; us-east-1 API), Route 53 hosted zones (ALIAS to Run CloudFront), KMS (DNSSEC KSK ECC P-256 in us-east-1, contact encryption), Lambda (API, operations runner, DNS manager, connections manager, reconciler), SQS (operations and change batches paced under Route 53 limits, DLQ), EventBridge Scheduler (renewals, reminders, polling), EventBridge (product events), RDS Postgres, CloudFront, CloudWatch alarms. **Figure**: Sypnia Domains on AWS: the API, the operations queue, Route 53 for registrations and zones, and the state in RDS. The API runs on Lambda behind CloudFront. Long operations go through an SQS queue to the operations runner, which polls Route 53 Domains on a schedule. The DNS manager writes Route 53 hosted zones. State lives in Postgres on RDS. | Service | Used for | | ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Route 53 Domains** | availability, prices, registration, renewal, transfers in, transfer between AWS accounts, contacts, privacy, transfer lock, auth codes. Its API is served from `us-east-1` | | **Route 53 hosted zones** | the zones and records; `ALIAS` records to Run's CloudFront distributions; health of the four name servers | | **KMS** | DNSSEC key-signing keys (asymmetric, ECC P-256, in `us-east-1`), and encryption of contact data | | **Lambda** | the API, the operations runner, the DNS manager, the connections manager, the reconciler | | **SQS** | operations and DNS change batches, paced under Route 53's request limits, with a dead-letter queue | | **EventBridge Scheduler** | renewal checks, reminders, operation polling | | **EventBridge** | events from Run, Mail, Data and Files (resource deleted, certificate issued) to the connections manager | | **RDS for PostgreSQL** | the `sypnia_domains` schema | | **CloudFront** | `domains.api.sypnia.com` | | **CloudWatch** | alarms on failed operations, failed renewals, and drift found by the reconciler | --- ## Failures and scaling > What happens when the registrar, Route 53 or a renewal fails, and how Domains grows. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/architecture/failures-and-scaling/ For agents: Domains failures: registry refusal → failed with reason, reservation released; slow registrar → pending with backoff (transfers take days); Route 53 throttle → queued and paced; renewal failure → retried daily, owners told; short credits → reminders, never renewed on credit; engine down → DNS keeps answering, only changes/purchases wait; outside edits → reconciler reports drift within an hour. Scaling: Route 53 serves DNS; engine on Lambda paced by SQS; plan for Route 53 per-account request rate and hosted-zone count. ### Failures | What fails | What happens | | ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- | | The registry refuses a registration | the operation is `failed` with the registry's reason; the credit reservation is released | | The registrar is slow | the operation stays `pending` and is polled with backoff; transfers can take days and that is normal | | Route 53 throttles | changes wait in the queue and are sent at the allowed pace; nothing is dropped | | A renewal fails at the registrar | it is retried daily until expiry; owners are told at once | | Credits are short for a renewal | reminders as in [Renewals](https://domains.docs.sypnia.com/ownership/renewals); the domain is never renewed on credit you do not have | | The engine is down | DNS keeps answering: Route 53 serves the zones on its own; only changes and purchases wait | | Someone edits a zone outside Domains | the reconciler reports the drift within an hour and offers to keep or revert it | ### Scaling DNS answers are served by Route 53 and scale with it. The engine's work is small and bursty (purchases, changes, polling), and runs on Lambda paced by SQS. The limit to plan for is Route 53's per-account request rate and number of hosted zones, raised with AWS ahead of growth. --- ## Codebase > How the open-source repository is organized. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/architecture/codebase/ For agents: sypnia-domains repo: engine/ Rust workspace (api, search, registrar trait + Route 53 Domains adapter, dns trait + Route 53 adapter + reconciler, operations, connections + product adapters, renewals, zonefile, mcp), migrations/, packages/domains (@sypnia/domains server/zone/cli), deploy/ (compose, IAM policy, AWS template), spec/openapi.yaml, docs/ARCHITECTURE.md; tests with recorded Route 53 fake and local DNS, never register. ```text sypnia-domains/ ├─ engine/ Rust workspace │ ├─ api/ HTTP API (axum) │ ├─ search/ names, suggestions, internationalized names, prices │ ├─ registrar/ the Registrar trait and the Route 53 Domains adapter │ ├─ dns/ the DnsProvider trait, the Route 53 adapter, the reconciler │ ├─ operations/ long operations: registrations, renewals, transfers, moves │ ├─ connections/ connections and the product adapters (run, mail, data, files) │ ├─ renewals/ schedule, set-aside, reminders │ ├─ zonefile/ parse and write zone files │ └─ mcp/ the MCP server ├─ migrations/ sypnia_domains schema ├─ packages/domains/ @sypnia/domains (server, zone, cli) ├─ deploy/ docker compose, IAM policy, AWS template ├─ spec/openapi.yaml └─ docs/ARCHITECTURE.md ``` Tests use a recorded fake of Route 53 Domains and a local DNS server, so they never register anything. --- ## Self-hosting > Run the engine with your own AWS account, registering and managing domains there. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/self-hosting/ - [Your AWS account](/self-hosting/aws-account/): The IAM policy, importing what you have, and how purchases are billed. - [Docker](/self-hosting/docker/): The engine's image and the compose file with Postgres. - [Configuration](/self-hosting/configuration/): Every environment variable of the engine. - [Upgrades and backups](/self-hosting/upgrades/): Upgrading the engine and what to back up. --- ## Your AWS account > The IAM policy, importing what you have, and how purchases are billed. Applies to: the Sypnia engine (open source, self-hosted). Source: https://domains.docs.sypnia.com/self-hosting/aws-account/ For agents: Domains self-host IAM: route53domains search/price, register/renew/transfer/operations, update/lock/auth code; route53 hosted zones, ChangeResourceRecordSets, ListResourceRecordSets, GetChange; kms CreateKey/Sign/GetPublicKey on tagged keys for DNSSEC; deploy/iam-policy.json; billed by AWS at AWS prices, shown before confirming; domains import without changes; Route 53 auto-renew left on by default so a stopped engine never lets domains expire. The engine acts on **your** AWS account with an IAM role (or keys) limited to: | Actions | For | | ----------------------------------------------------------------------------------------------------------------- | ---------------------- | | `route53domains:CheckDomainAvailability`, `ListPrices`, `GetDomainSuggestions` | search and prices | | `route53domains:RegisterDomain`, `RenewDomain`, `TransferDomain`, `GetOperationDetail`, `ListOperations` | purchases | | `route53domains:Update*`, `EnableDomainTransferLock`, `DisableDomainTransferLock`, `RetrieveDomainAuthCode` | settings and transfers | | `route53:*HostedZone*`, `route53:ChangeResourceRecordSets`, `route53:ListResourceRecordSets`, `route53:GetChange` | DNS | | `kms:CreateKey`, `kms:Sign`, `kms:GetPublicKey` on keys tagged `sypnia-domains` | DNSSEC | `deploy/iam-policy.json` has it ready. Purchases are billed by AWS to your account at AWS's prices; the engine shows them before you confirm. `domains import` brings in the domains and hosted zones your account already has, without changing them. Route 53 Domains does its own auto-renewal; the engine leaves it **on** in your account by default, so a stopped engine never lets a domain expire. --- ## Docker > The engine's image and the compose file with Postgres. Applies to: the Sypnia engine (open source, self-hosted). Source: https://domains.docs.sypnia.com/self-hosting/docker/ For agents: Domains Docker: docker run port 7700 with DATABASE_URL and AWS_REGION; compose adds Postgres; AWS credential chain (instance role, AWS_PROFILE, keys); only the API port; DNS answered by Route 53, not the engine. ```bash docker run -p 7700:7700 \ -e DATABASE_URL=postgres://… -e AWS_REGION=us-east-1 \ ghcr.io/sespinosav/sypnia-domains:latest ``` The compose file in the repository adds Postgres. Credentials come from the usual AWS chain (an instance role, `AWS_PROFILE`, or keys). The engine needs no inbound port except its API; DNS is answered by Route 53, not by the engine. --- ## Configuration > Every environment variable of the engine. Applies to: the Sypnia engine (open source, self-hosted). Source: https://domains.docs.sypnia.com/self-hosting/configuration/ For agents: Domains engine env: DATABASE_URL, AWS_REGION (us-east-1), REGISTRAR (route53), DNS_PROVIDER (route53), KEEP_REGISTRAR_AUTORENEW (true), REQUIRE_CONFIRMATION (true), SPENDING_LIMIT_MONTHLY, RECONCILE_EVERY (1h), WEBHOOK_URL, JWKS_URL. | Variable | Default | Meaning | | -------------------------- | ----------- | --------------------------------------------------------------- | | `DATABASE_URL` | — | Postgres for `sypnia_domains` | | `AWS_REGION` | `us-east-1` | Route 53 Domains is served from `us-east-1` | | `REGISTRAR` | `route53` | the registrar adapter | | `DNS_PROVIDER` | `route53` | the DNS adapter | | `KEEP_REGISTRAR_AUTORENEW` | `true` | leave Route 53's own auto-renewal on | | `REQUIRE_CONFIRMATION` | `true` | every purchase needs an explicit confirmation | | `SPENDING_LIMIT_MONTHLY` | — | refuse purchases above this amount in a month, in your currency | | `RECONCILE_EVERY` | `1h` | how often zones are compared with Route 53 | | `WEBHOOK_URL` | — | where operation, renewal and drift events are sent | | `JWKS_URL` | — | to accept JWTs from your issuer as well as keys | --- ## Upgrades and backups > Upgrading the engine and what to back up. Applies to: the Sypnia engine (open source, self-hosted). Source: https://domains.docs.sypnia.com/self-hosting/upgrades/ For agents: Domains upgrades: migrations on start, in-progress operations resumed from stored registrar operation id; back up Postgres (history, desired zone state); domains and zones live in your AWS account, so domains import rebuilds the database from Route 53. Upgrades run migrations on start; operations in progress are picked up again by the new version from their stored registrar operation id. Back up the Postgres database: it holds the history and the desired state of your zones. The domains themselves and the zones live in your AWS account, so losing the engine's database never loses a domain: `domains import` rebuilds it from Route 53. --- ## Security > Domain hijacking, DNS takeover, spending limits for agents, the threat model and the checklist. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/security/ - [Threat model](/security/threat-model/): What could go wrong in Sypnia Domains, and how each threat is answered. - [Spending limits for agents](/security/agent-spending-limits/): How much an agent may spend, and what still needs a person. - [Checklist](/security/checklist/): What to check once your domain carries a real app. --- ## Threat model > What could go wrong in Sypnia Domains, and how each threat is answered. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/security/threat-model/ For agents: Domains threat model: hijacking (lock on, auth code owners-only with re-confirmation and e-mail to all owners, never agents); account takeover (NS/apex/MX change notifications, history, undo, passkeys/2FA); subdomain takeover (connections remove records on deletion, reconciler flags dangling CNAMEs); forged DNS (DNSSEC); unwanted certificates (CAA on first connection); spending (owner/billing roles, person-confirmed quotes, agent spending limits, warning before purchase); accidental expiry (auto-renew, set-aside 45 days, reminders, grace/redemption); contact data (privacy, encrypted at rest). | Threat | Answer | | ------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Domain hijacking**: someone transfers your domain away | transfer lock on by default; the auth code only for owners, after re-confirming, with an e-mail to every owner; agents can never get it | | **Account takeover** used to change name servers or records | changes to `NS`, the apex and `MX` notify owners; record history shows who and from where; `records undo` reverts; sign-in protections of the Sypnia account (passkeys, two factors) | | **Subdomain takeover**: a record still points at a deleted app or bucket | connections remove their records when the resource is deleted; the reconciler flags `CNAME`s pointing at Sypnia resources that no longer exist | | **Forged DNS answers** | DNSSEC available with one command | | **Unwanted certificates** for your domain | a `CAA` record limiting issuance to the authorities Sypnia uses, added on first connection | | **Accidental or abusive spending** | purchases only by owner and billing roles, quotes confirmed by a person, agents with [spending limits](https://domains.docs.sypnia.com/security/agent-spending-limits), no refunds hidden in fine print: the warning is shown before every purchase | | **Expiry by accident** | automatic renewal, credits set aside 45 days before, reminders, grace and redemption periods | | **Exposed contact data** | privacy protection on where the ending allows; contact data encrypted at rest | --- ## Spending limits for agents > How much an agent may spend, and what still needs a person. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/security/agent-spending-limits/ For agents: Domains agent spending limits: agents only request purchases/renewals/transfers, never complete alone; approver sees name, years, final price, renewal price; per agent connection perPurchase, perMonth (calendar month total), endings allow-list; domains agents limit --per-month --endings; without limit every request still needs approval; limits in domains or credits, never above approver capacity. An agent connected over MCP or with a key can **request** purchases, renewals and transfers; it never completes them alone. Each request shows the person who approves it the name, the years, the final price and the renewal price. On top of that, each agent connection has a **spending limit**: | Setting | Default | Meaning | | ------------- | ------- | --------------------------------------------------------------------- | | `perPurchase` | none | requests above this amount are refused before reaching a person | | `perMonth` | none | the total the agent's approved requests may reach in a calendar month | | `endings` | any | only these endings, for example `co`, `com` | ```bash npx @sypnia/domains agents limit claude-desktop --per-month 1 --endings co,com ``` Without a limit set, every request still needs approval; the limit only adds refusals before the approval. Limits are in domains or in credits, never above what the approving person can spend. --- ## Checklist > What to check once your domain carries a real app. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/security/checklist/ For agents: Domains checklist: transfer lock and privacy on; auto-renew on with credits covering renewals due in 45 days; registrant e-mail confirmed and read; at least two owners with passkeys/2FA; agents with spending limit and endings list; no dangling records (no drifted connections); CAA in place; DNSSEC after a stable week. - [ ] Transfer lock is on and privacy protection is on where the ending allows. - [ ] Auto-renew is on, and your credits cover the renewals due in the next 45 days. - [ ] The registrant e-mail is confirmed and goes to an inbox someone reads. - [ ] At least two owners, both with passkeys or two factors on their Sypnia account. - [ ] Agents that can request purchases have a spending limit and an endings list. - [ ] No record points at a resource that no longer exists (`connections ls` shows none `drifted`). - [ ] A `CAA` record is in place. - [ ] DNSSEC is on once the domain has been stable for a week. --- ## Sypnia Cloud > Projects, metering in credits, limits and plans. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/cloud/ In Sypnia Cloud, Domains belongs to a **project** of your organization, the same project your other Sypnia products use. You sign in with your Sypnia account, and what Domains uses is paid from your prepaid credits. - [Credits and limits](/cloud/credits-and-limits/): What Domains measures, how it is paid with credits, and its limits. - [Plans](/cloud/plans/): How Domains is sold: on its own, in the global Sypnia subscription, and with extra capacity. --- ## Credits and limits > What Domains measures, how it is paid with credits, and its limits. Applies to: Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/cloud/credits-and-limits/ For agents: Domains in Sypnia Cloud: metered items, plan amounts, overage from prepaid credits, extra capacity per item, no post-paid charges, limits published with plans. ### What is measured | Item | Unit | | ----------------------------------------------- | --------------------------------------------------------------------------------------------- | | Registrations, renewals, transfers and restores | the final price of each, per ending and year, shown before you confirm | | DNS zones | zones per month, for domains registered elsewhere (zones of domains bought here are included) | | DNS queries | millions of answers per month, beyond what the plan includes | The console shows usage per day and what it will cost in credits by the end of the month at the current pace. ### How it is paid Every plan includes an amount of each item. What goes beyond it is charged against your **prepaid credits**, item by item, at prices published with the plans. You can also buy **extra capacity** for one item for the month. There are no charges after the fact. Credits are bought in [App](https://app.docs.sypnia.com/account/credits), from USD 5. They expire 12 months after you buy them, and the oldest are spent first. Credits are not refunded, except when the mistake is ours, and then only in credits. ### Limits Each plan sets: DNS-only zones, records per zone, DNS queries per month, and how many agents can request purchases. The values are published with the plans. --- ## Plans > How Domains is sold: on its own, in the global Sypnia subscription, and with extra capacity. Applies to: Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/cloud/plans/ For agents: Domains plans: on its own, global Sypnia subscription tiers, per-item extra capacity; all prepaid; larger of product plan vs tier per item; when credits run out: notices at 80/100 %, 7 days of grace, then changes past the plan wait; DNS always answers; purchases need free credits. ### Three ways to pay for Domains 1. **Domains on its own.** Domains on their own, paid per domain at their final price, with DNS included for domains bought here. 2. **The Sypnia subscription.** One monthly subscription with every Sypnia product, in tiers that each include an amount of Domains. 3. **Extra capacity.** On any plan, buy more of one item for the month without changing plan. Everything is **prepaid**: a monthly subscription paid in advance, or credits you top up. When a product plan and a global tier both include Domains, you get the larger amount of each item. ### When credits run out 1. When **80 %** of your credits are spent, counted from the balance after your last top-up, the owners and billing members get an e-mail and a notice in the app; again at **100 %**. 2. From then on there are **7 days of grace**: DNS changes and DNS-only zones keep working as on your plan, and nothing is deleted. 3. After the 7 days, changes and DNS-only zones past the plan wait until credits are added. DNS keeps answering for every zone even then: a domain never stops resolving because a monthly item ran out. 4. A purchase needs its full price in free credits at the moment of confirming; there is never a purchase on credit, grace or not. 5. Renewals are covered by credits **set aside** from 45 days before; if free credits are not enough, you are reminded until the date, as in [Renewals](https://domains.docs.sypnia.com/ownership/renewals). --- ## Reference > Glossary, design decisions, the changelog and common questions. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/reference/ - [Glossary](/reference/glossary/): Every word these docs use with a fixed meaning. - [Design decisions](/reference/decisions/): The choices behind Sypnia Domains, and why each one was made. - [Common questions](/reference/faq/): Short answers to what people ask first about Sypnia Domains. - [Changelog](/reference/changelog/): What changed in Sypnia Domains, newest first. --- ## Glossary > Every word these docs use with a fixed meaning. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/reference/glossary/ For agents: Sypnia Domains vocabulary: domain, ending (TLD), registry, registrar, registrant, quote, operation, zone, record, apex, ALIAS record, name server, DNSSEC, connection, owned record, drift, transfer lock, auth code, privacy protection, grace period, redemption, set-aside credits, engine. One name per thing, in these docs, in the console and in the API. **ALIAS record**: A record that points the apex at a hostname, where a `CNAME` is not allowed. **Apex**: The domain itself without a subdomain: `laespiga.co`. **Auth code**: The secret a new registrar needs to take a domain. **Connection**: A link between a domain and a Sypnia resource that owns the records making it work. **Drift**: A difference between what Domains expects in a zone and what is there. **Ending**: The last part of a domain, such as `.co` or `.com`. **Engine**: The open-source Domains you can run with your own AWS account. **Grace period**: The days after expiry when a domain can still be renewed at the normal price. **Name server**: A server that answers DNS questions for a zone; each zone has four. **Operation**: A registration, renewal or transfer that takes from seconds to days, followed until it ends. **Quote**: A name, years and final price held for 15 minutes; every purchase goes through one. **Redemption**: The stage after grace when a domain can only be restored, at the restore price. **Registrant**: The person or company that owns a domain. **Registrar**: A company accredited to register names with registries; Domains uses Amazon Route 53. **Registry**: The organization that runs an ending and its list of registered names. **Set-aside credits**: Credits reserved for a renewal due within 45 days. **Transfer lock**: A registry setting that refuses transfers out until removed. **Zone**: The set of DNS records of a domain. --- ## Design decisions > The choices behind Sypnia Domains, and why each one was made. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/reference/decisions/ For agents: Sypnia Domains design decisions: search shows a short list of endings by default (.com, .co, .app, .dev, .io, .net, .org, .store and the main Latin American country endings Route 53 offers), any other supported ending by typing it; endings Route 53 does not offer (such as .com.co) are registered at a local registrar and use Domains for DNS only; no premium or aftermarket names; credits for a renewal are set aside 45 days before expiry and the renewal is made at 30 days; Domains drives renewals from credits, with a daily check that renews any domain within 7 days of expiry whose credits are set aside; the free plan includes a small number of DNS-only zones; owners and billing members approve agent purchases, each within what they can spend; licenses AGPL-3.0 engine, MIT @sypnia/domains. | # | Decision | What Sypnia Domains does, and why | | - | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | 1 | **Endings in search** | A short list by default (`.com`, `.co`, `.app`, `.dev`, `.io`, `.net`, `.org`, `.store` and the main Latin American country endings Route 53 offers), and any other supported ending by typing it, so the first screen stays simple. | | 2 | **Local endings Route 53 does not offer** (such as `.com.co`) | Register them at a local registrar and use Domains for [DNS only](https://domains.docs.sypnia.com/dns/dns-only-and-registration-only): Run, Mail, Data and Files connect the same way. | | 3 | **Premium and aftermarket names** | Not sold: their prices and terms are different and harder to show plainly. | | 4 | **Renewal set-aside window** | Credits are set aside 45 days before expiry and the renewal is made at 30 days, so there are two weeks to top up before anything is at risk ([Renewals](https://domains.docs.sypnia.com/ownership/renewals)). | | 5 | **Who drives renewals** | Domains renews from your credits. A daily check renews any domain within 7 days of expiry whose credits are set aside, even if a reminder failed. | | 6 | **DNS-only zones on the free plan** | A small number are included, so people with a local ending can connect Run and Mail without buying anything. | | 7 | **Who approves agent purchases** | Owners and billing members, each within what they can spend ([Agent spending limits](https://domains.docs.sypnia.com/security/agent-spending-limits)). | | 8 | **Licenses** | AGPL-3.0 for the engine (a hosted copy must share its changes) and MIT for `@sypnia/domains`, like every Sypnia engine and SDK. | --- ## Common questions > Short answers to what people ask first about Sypnia Domains. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/reference/faq/ #### How do I use it? In Sypnia Cloud with your Sypnia account, ready to use, or self-hosted: the open-source engine runs in your own account. #### Who owns a domain bought here? You do. You are the registrant in the registry's records; Sypnia manages it for you and you can take it to any registrar, or to your own AWS account, at any time. #### Why Amazon Route 53? It is a registrar accredited by ICANN with a wide list of endings, the same DNS that serves Sypnia's own products, and it lets a domain move to the customer's own AWS account without a registry transfer. #### Can I get a refund? Not after the registry accepts the registration: registries do not return their fee. If the registration fails, nothing is charged. The warning is shown before every purchase. If something went wrong because of us, we return the credits, never money ([No refunds once registered](https://domains.docs.sypnia.com/buy/prices-and-quotes#no-refunds-once-registered)). #### Do I need Domains to use Run or Mail on my own domain? No. Any registrar and any DNS work; Domains only saves you the records and keeps them right. #### Can I buy `.com.co` or other country endings? Domains offers the endings the registrar supports; some country endings are not among them. For those, register at a local registrar and use Domains for [DNS only](https://domains.docs.sypnia.com/dns/dns-only-and-registration-only). #### Can I leave? Yes: unlock, get the auth code, transfer. Or move the domain to your own AWS account in minutes. Zone files export in the standard format. --- ## Changelog > What changed in Sypnia Domains, newest first. Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service). Source: https://domains.docs.sypnia.com/reference/changelog/ ### 2026-11-17 Sypnia Domains and its documentation: search, prices and quotes, buying with credits, contact data and privacy, DNS zones and records, DNSSEC, DNS-only and registration-only, connections to Run, Mail, Data and Files, renewals, expiry, transfers, locks, the SDK, CLI and MCP, the API, the architecture on AWS, self-hosting, security and Sypnia Cloud.