Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
GlossaryNovember 22, 20263 min read

What is DNS?

Every time someone types your domain, a chain of lookups finds the server behind it. The four record types worth knowing, what TTL means, and why a new domain can take a while to work.

Startbase Team
Editorial ink illustration of a rotary card index with one card flipped up, the flipped card in ember orange

Key takeaways

  • DNS is the internet's directory: it maps names like www.myshop.com to the addresses of the servers that host them.
  • A and CNAME records point a name at a host; TXT records prove ownership; MX records route email. Changing the wrong one can break your email.
  • DNS changes spread as cached answers expire, usually within minutes but sometimes up to 48 hours.

Every domain on the internet depends on DNS (the Domain Name System), the directory that turns a human-friendly name like `www.myshop.com` into the numeric address of the server that hosts it. Your browser asks DNS before it can load anything, and when you connect a custom domain to an app, what you are really doing is editing that domain's DNS records.

An everyday example: your phone's contacts

You tap "Mom" and your phone dials a number you have never memorized. If she changes her number, you update the contact once and every call still works. DNS is a contacts list for the whole internet. Names stay the same; the addresses behind them can change. When your app moves to a new host, you update one record and visitors keep typing the same domain.

The lookup is a short chain. Your device asks a resolver (usually run by your internet provider or a public service), which asks the servers for `.com`, which point to the nameservers for `myshop.com`, which hold the actual records. Each answer is cached along the way, which keeps the web fast and explains the delays below.

The record types you will actually meet

  • A / AAAA: name to an IP address (IPv4 / IPv6). Example: `myshop.com` to `203.0.113.10`.
  • CNAME: name to another name. Example: `www` to `myshop.startbase.app`. The host can change its IPs without you touching anything.
  • TXT: free text, used to prove you own a domain to services like Google Search Console and for email anti-spoofing settings (SPF, DKIM, DMARC).
  • MX: where email for the domain is delivered. Leave these alone when connecting a website, or your inbox stops receiving.

Each record has a TTL (time to live) in seconds: how long others may cache the answer. 3600 means an hour. Lowering it to 300 a day before a planned move makes the switch spread faster.

Why it matters when building with Startbase

Every published Startbase app gets a `*.startbase.app` address with no DNS work at all. On paid plans you can add your own domain: after the first publish, open Custom domain in the Publish panel, enter something like `www.yourdomain.com`, and copy the record name and target into the DNS settings at your registrar. Startbase checks automatically and issues the HTTPS certificate once it finds the record. A root domain (`yourdomain.com`) works only when its DNS is hosted on Cloudflare; otherwise, connect `www` and forward the root to it at your registrar (custom domain docs). The step-by-step guide is how to connect a custom domain.

I connected www.myclub.com to my published app. Update everything in the project that still uses the old startbase.app address (share links, the sitemap, Open Graph tags and any auth redirect URLs) to use https://www.myclub.com, and list each change.

Why a new record does not work instantly

Resolvers around the world hold cached answers until their TTL runs out. So after you add a record, some visitors see the new site while others still get "site not found." Most DNS changes are picked up within minutes, though some take up to 48 hours. Different results on your phone (mobile data) and laptop (home Wi-Fi) during that window are normal. Tools that query DNS from several countries show how far the change has spread. Once it settles, add the TXT record Google Search Console asks for, so you can submit your sitemap (see SEO for your app).

Common confusions

  • Registrar, DNS host and web host can be three companies. You might buy the domain at one, manage DNS at another, and host the app on Startbase.
  • "Domain forwarding" is not DNS. It is a redirect service some registrars offer, handy for sending the root domain to `www`.
  • A CNAME cannot sit on a root domain under the DNS rules, which is why root domains need special support from the DNS host.

Frequently asked questions

How long does DNS take to update?

Usually minutes. Because of caching, it can take up to 48 hours to reach every network. Lowering the TTL before a planned change shortens the wait.

Will changing DNS break my email?

Not if you only add or edit the record for the website, such as the www CNAME. Email depends on MX and TXT records; leave those untouched.

Where do I edit my DNS records?

Wherever your domain's nameservers point, usually the registrar you bought it from. If you moved DNS to a service like Cloudflare, edit it there instead.

On this page

  • An everyday example: your phone's contacts
  • The record types you will actually meet
  • Why it matters when building with Startbase
  • Why a new record does not work instantly
  • Common confusions

Keep reading

More in Glossary
Editorial ink illustration of a hand-cranked music box drum plucking a metal comb, the crank handle in ember orange
GlossaryNovember 22, 2026

What is a game loop?

Every real-time game runs one repeating cycle: read input, update the world, draw it. Here is what that cycle looks like and why it decides how your game feels.

3 min read
Editorial ink illustration of a brass stopwatch beside a small wind-up toy car, the second hand in ember orange
GlossaryNovember 22, 2026

What is delta time?

Delta time is the number that keeps your game the same speed on every screen. Here is how to use it, where it breaks, and how to spot a game that forgot it.

3 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.