Project write-up
Personal domains with DNSSEC
Setting up samkitay.com and samkitay.dev the way I'd want a client's domains set up: registrar and DNS kept separate, a clean zone, and signed records.
Goal
I needed a professional domain for this portfolio, and a second domain for my homelab. I also wanted hands-on practice with DNS concepts, record types and DNSSEC.
Setup
Registrar
Porkbun
Owns the registration, submits NS and DS
Registry
.com / .dev
Publishes the delegation and DS record
Authoritative DNS
Cloudflare
Hosts the records and signs the zone
- samkitay.com: public, for this portfolio and email.
- samkitay.dev: internal homelab services only, with no public records for them.
What I did, and why
- Registered at Porkbun, not Cloudflare Registrar. Cloudflare Registrar requires its own nameservers. Keeping the registrar separate means I can move DNS to another provider later without touching the registration.
- Delegated DNS to Cloudflare by hand. Porkbun offers a one-click integration, but changing the nameservers myself let me see each step of the delegation and avoided granting one account access to the other.
- Started from a clean zone. Cloudflare's import found 10 records for samkitay.com: parking A records, a wildcard CNAME, Porkbun mail forwarding (MX and SPF) and two stale _acme-challenge tokens. I deleted all of them so the zone holds only records I add on purpose.
- Enabled DNSSEC on both domains. Once Cloudflare was authoritative, I entered its DS record at Porkbun as DS data (algorithm 13, digest type 2), completing the chain of trust from the registry down.
- Separated public and internal use. Lab names will exist only on my internal resolver, and the API token the lab will use for certificates is scoped to the .dev zone alone.
Gotchas and how I handled them
The wildcard record
The default *.samkitay.com CNAME would have answered for any subdomain, including typos and names I never meant to publish. That makes missing records hard to spot, so it was the first thing I removed.
A certificate I didn't ask for
Porkbun had issued a Let's Encrypt wildcard certificate for its parking page, with auto-renew locked on. Without DNS control it can't renew, so I will let it expire instead of revoking it, since revocation is meant for compromised keys.
Lessons
- Where a domain is registered and where its DNS is hosted are separate decisions, and keeping them separate keeps options open.
- Default records deserve the same review as anything I add myself.
Next steps
- Email on samkitay.com with SPF, DKIM and DMARC.
- CAA records limiting certificate issuance to Let's Encrypt.
- Records that block email spoofing from samkitay.dev.