# Domain SDK

> TypeScript SDK for adding and managing custom customer domains across platforms

Domain SDK provides a unified TypeScript client to programmatically add, verify, monitor, and remove custom domains on hosting platforms like Vercel, Cloudflare, and Netlify. It normalizes DNS record generation, verification states, and TLS certificate tracking across different backends. This saves multi-tenant SaaS developers from writing bespoke domain-handling infrastructure.

Website: https://github.com/opencoredev/domain-sdk

## What it is for

- Add custom domain management to a multi-tenant SaaS platform
- Generate accurate DNS records and instructions for customer onboarding
- Track ownership verification and SSL certificate issuance asynchronously
- Provision and manage tenant-specific subdomains under a root domain

## Features

- Adapters for Vercel, Cloudflare for SaaS, Railway, Render, Netlify, and bunny.net
- DNS registrar adapters for Porkbun, Namecheap, and Spaceship
- Normalized domain lifecycle tracking for routing, ownership, and TLS readiness
- Sequential polling with retry logic, timeouts, and provider backoff
- Tenant subdomain scoping with reserved label filtering
- Isolated in-memory testing adapter that runs without hitting live APIs

## Pricing

Open source. Free, MIT licensed

## Details

- Type: GitHub repo
- Category: [Development](https://xiry.app/topics/development.md)
- Topic: [Developer Tools](https://xiry.app/topics/development/developer-tools.md)
- Open source: yes
- Platforms: Code library
- For: TypeScript and SaaS developers building multi-tenant web applications
- Alternative to: Platforms on Vercel, Cloudflare for SaaS Custom Hostnames API
- Tags: domains, dns, saas, multitenancy, typescript, ssl, vercel

## Why it was saved

- [@leodev, 13 July 2026](https://x.com/leodev/status/2076637877757423801): Removes a whole class of bespoke infrastructure work (DNS config, verification, TLS issuance tracking) when building multi-tenant SaaS with custom domains.

## Related

- [react-best-practices](https://xiry.app/resources/react-best-practices): Curated React performance rules and coding-agent skills by Vercel (GitHub repo, Open source)
- [Agentation](https://xiry.app/resources/agentation): Connects AI coding agents to browser annotations for automated UI reviews (Web app, Open source)
- [claude-office-skills](https://xiry.app/resources/claude-office-skills): Office document creation and editing skills for Claude Code CLI. (GitHub repo, Open source)
- [ECC](https://xiry.app/resources/ecc): Agent harness optimization system with skills, hooks, and configs for coding agents (GitHub repo, Open source)
- [Eight Dev Tools, Zero Fluff — Part 6](https://xiry.app/resources/eight-dev-tools-zero-fluff-part-6): Curated list of eight front-end design and developer utility tools (List)
- [Framecap](https://xiry.app/resources/framecap): Command-line screen, camera, and audio recorder for macOS (Web app)

Updated 10 October 2026. Page: https://xiry.app/resources/domain-sdk

Make your own library: Xiry takes your saved reels, tweets, Reddit bookmarks and Watch Later videos, makes them searchable and pulls the useful stuff out, like this library. It's invite-only for now; join the waitlist at https://xiry.app/#waitlist.
