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.

PorkbunCloudflare DNSDNSSEC

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

What I did, and why

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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

Next steps

← Back to portfolio