Domains and DNS on DASTER

Connect a domain you own to an app on DASTER with a TXT and a routing record, get HTTPS from Let's Encrypt, and search domain names.

Last updated

On DASTER you connect a domain you already own to a live web service. You add a TXT record to prove ownership and a CNAME or A record for routing, then DASTER gets a Let's Encrypt certificate and renews it by itself. You can also search domain names and see .com prices; buying a domain is not open yet.

What do you get?

  • Your domains: every hostname connected to your apps, with its DNS records, its state and its HTTPS certificate.
  • Check now, which says what it found: not found, a wrong value, points elsewhere, issuing, connected or DNS unavailable.
  • Automatic HTTPS: a Let's Encrypt certificate, checked the way a browser would before the domain is marked Connected, and renewed by itself.
  • Daily checks of both records. A domain that loses one stops routing until it is fixed.
  • International names, converted to their xn-- form.
  • Buy a domain: search a name for 1 to 10 years and see whether it is available. A .com name shows DASTER's price for that term.

What are the limits today?

  • Buying a domain, transfers, renewals and nameserver changes are not open yet. Orders are refused and nothing is charged.
  • Only a live web service can receive a domain.
  • The edge is IPv4 only: do not add an AAAA record for the name.
  • Wildcards, IP addresses, single labels, reserved names (localhost, .local, .test, .internal) and shared suffixes (co.uk, github.io) are refused.
  • A project can claim at most 10 domains in an hour.
  • Managing a Cloudflare zone from DASTER is not available yet.
  1. Deploy a web service

    A domain points at a live web service. If you have none yet, deploy one on Hosting; see the Next.js hosting guide.

  2. Add the domain

    Open Domains › Your domains and choose Add domain. Enter the hostname, for example shop.example.com, and pick the web service.

  3. Prove that you own it

    DASTER shows the domain's TXT record. Add it at your DNS provider. DASTER does not change your DNS; you add every record yourself.

  4. Add the routing record

    Add the record shown on the Traffic routing card:

    HostnameRecordValue
    A subdomain, shop.example.comCNAMEedge.ap-south-1.daster.io
    An apex domain, example.comAThe address shown on the card
  5. Check and wait for Connected

    Choose Check now. The domain moves through these states:

    StateMeaning
    Pending DNSThe TXT value is missing or wrong
    VerifiedOwnership is proved; the routing record is missing or points elsewhere
    Pending certificateBoth records found; the certificate is being issued
    ConnectedThe hostname serves your app over HTTPS

    With the API:

    HTTP
    POST /v1/projects/{projectId}/domains?organizationId={organizationId}
    Content-Type: application/json
    Idempotency-Key: domain-shop-1
    
    { "hostname": "shop.example.com", "purpose": "application", "appId": "<web service id>" }

    Then POST …/domains/{domainId}/check and GET …/domains/{domainId} to follow it.

Questions about domains on DASTER

Can I buy a domain on DASTER?

Not yet. You can search names and see the price of a .com name today. Orders are refused until buying opens, and nothing is charged. A domain you registered somewhere else stays with your registrar, and you can connect it.

Do I need to upload a certificate?

No. Once both records are found, DASTER gets a certificate from Let's Encrypt and renews it by itself.

Why does my domain stay on Pending certificate?

Two things stop the certificate: a proxying CDN in front of the hostname (at Cloudflare, set the record to DNS only), or a CAA record that does not allow letsencrypt.org.

Can I use an apex domain such as example.com?

Yes. Add an A record with the address on the Traffic routing card, and no AAAA record, because every address of the name must be DASTER's.

What happens if I remove a DNS record later?

DASTER checks both records about once a day. Without the TXT record the domain goes back to Pending DNS; if the routing record moves away it goes back to Verified. Routing stops in both cases.

In the docs

Next steps