Skip to content

Connections

What a connection is, what it writes, and how it is undone.

Applies to EngineCloud
View as Markdown
On this page
  1. What it does
  2. Owned records
  3. When the resource goes away

A connection links a domain or subdomain to a Sypnia resource and owns the records that make it work:

Terminal
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.

  1. What it does
  2. Owned records
  3. When the resource goes away

    Search pages, sections and terms