惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
云风的 BLOG
云风的 BLOG
aimingoo的专栏
aimingoo的专栏
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
F
Full Disclosure
A
About on SuperTechFans
C
Check Point Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
量子位
Know Your Adversary
Know Your Adversary
K
Kaspersky official blog
L
LINUX DO - 热门话题
Recorded Future
Recorded Future
C
Cisco Blogs
M
MIT News - Artificial intelligence
T
Tenable Blog
G
GRAHAM CLULEY
月光博客
月光博客
Recent Announcements
Recent Announcements
V
Visual Studio Blog
IT之家
IT之家
T
The Exploit Database - CXSecurity.com
The GitHub Blog
The GitHub Blog
T
Threat Research - Cisco Blogs
D
DataBreaches.Net
P
Privacy International News Feed
P
Proofpoint News Feed
I
Intezer
博客园 - 叶小钗
C
CXSECURITY Database RSS Feed - CXSecurity.com
The Hacker News
The Hacker News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - Franky
SecWiki News
SecWiki News
宝玉的分享
宝玉的分享
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
小众软件
小众软件
Hacker News - Newest:
Hacker News - Newest: "LLM"
O
OpenAI News
N
News and Events Feed by Topic
Microsoft Security Blog
Microsoft Security Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
N
News and Events Feed by Topic
The Cloudflare Blog
Spread Privacy
Spread Privacy
酷 壳 – CoolShell
酷 壳 – CoolShell
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
B
Blog RSS Feed

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
DNSSEC: The Developer's Setup Guide (2026)
Regő Botond · 2026-05-09 · via DEV Community

DNSSEC has a reputation for being complicated. That reputation is mostly deserved, but the actual setup on modern DNS providers takes about ten minutes. The hard part is understanding what it does and why, so you don't misconfigure it and silently break your domain for a subset of users.

This is that guide.


What DNSSEC actually does

DNS responses have no built-in authentication. When a resolver asks your nameserver "what's the IP for yourapp.com," there's nothing in the original protocol that proves the answer came from you and wasn't modified in transit. Cache poisoning attacks (Kaminsky, 2008) exploited exactly this.

DNSSEC adds cryptographic signatures to your DNS records. Each record set gets signed with a private key. Resolvers that support DNSSEC validation can verify those signatures against a public key published in your zone. If the answer was tampered with, validation fails and the resolver returns an error instead of a forged response.

It does not encrypt DNS traffic. Someone watching the network can still see what domains you're querying. That's what DNS over HTTPS (DoH) and DNS over TLS (DoT) are for, which is a separate topic. DNSSEC is about integrity, not confidentiality.


The key concepts you need before touching anything

Zone Signing Key (ZSK) signs your actual DNS records (A, MX, CNAME, etc.). It rotates frequently, typically every 30-90 days depending on your provider.

Key Signing Key (KSK) signs the ZSK. It rotates less often and is the one that gets published up the chain to your parent zone (your TLD's nameservers).

DS record is a hash of your KSK that lives in the parent zone. This is the link in the chain of trust. When you enable DNSSEC, your registrar takes your DS record and publishes it in the TLD zone. Resolvers walk up this chain to verify your signatures.

NSEC/NSEC3 records prove that a name doesn't exist. Without them, an attacker could return NXDOMAIN for a name that actually exists and you'd have no way to verify they're lying. NSEC3 hashes the names so you're not exposing your full zone contents in the process.

If this sounds like a lot, managed DNSSEC on most providers handles all of it for you. You enable it, copy a DS record to your registrar, and the provider rotates keys automatically.


Setup by provider

Cloudflare

Cloudflare's DNSSEC is one click. Go to DNS > Settings > DNSSEC and enable it. Cloudflare gives you a DS record to add at your registrar. That's it. Key rotation is automatic and you never have to think about it again.

The one thing to check: if you're using Cloudflare as a proxy (orange cloud), DNSSEC only covers the DNS layer. The traffic between Cloudflare and your origin is a separate concern.

AWS Route 53

Route 53 added managed DNSSEC in 2020. In the console, go to your hosted zone, select DNSSEC signing, and enable it. AWS creates a KSK backed by a KMS key in your account, which you can see and control.

After enabling, Route 53 shows you the DS record. You add that record at your domain registrar. If your registrar is Route 53 as well, there's a button to do it automatically.

One Route 53 gotcha: the KMS key has to be in us-east-1. If your infrastructure is in another region, the key still needs to live there. This surprises people.

Google Cloud DNS

Go to your Cloud DNS zone, click DNSSEC, enable it. Google manages key rotation automatically. You get a DS record to copy to your registrar. Same pattern as the others.

Self-hosted BIND or NSD

This is where it gets manual. You need to generate your ZSK and KSK with dnssec-keygen, sign your zone with dnssec-signzone, and set up automated re-signing before signatures expire. If you're running your own nameservers and haven't done this before, the official BIND documentation is the right starting point. The managed provider path is meaningfully easier.


The DS record and your registrar

This step is where most DNSSEC setups fail. Enabling signing on your DNS provider is only half the job. The DS record has to be published in the parent zone (the TLD), and that happens through your registrar.

Every registrar has a different UI for this. You're looking for something called "DNSSEC," "DS records," or "domain security." You'll paste in four fields: key tag, algorithm, digest type, and digest. These come directly from your DNS provider after you enable signing.

If you change DNS providers later, you have to update the DS record at your registrar before you disable DNSSEC on the old provider. The failure mode is ugly: resolvers that validate DNSSEC will return SERVFAIL for your domain, which looks like your site is down to roughly 30% of users (the ones whose resolvers validate). The other 70% will see nothing wrong. This makes it hard to diagnose.


Checking your setup

After enabling DNSSEC and adding the DS record, give it 15-30 minutes to propagate, then verify:

# Check if your zone is signed
dig DNSKEY yourapp.com +short

# Check if the DS record is in the parent zone
dig DS yourapp.com @8.8.8.8 +short

# Full validation check
dig yourapp.com +dnssec +short

Enter fullscreen mode Exit fullscreen mode

For a more readable output, dnsviz.net generates a visual graph of your DNSSEC chain of trust. It's the clearest way to see if something is broken.

DANE Validator is useful if you're also doing TLSA records for email.


What breaks when you get it wrong

Signature expiry. DNSSEC signatures have an expiration date. If your provider doesn't auto-rotate and you forget to re-sign, signatures expire and validating resolvers start returning SERVFAIL. This has taken down larger domains than you'd expect. With a managed provider, this is their problem. On self-hosted DNS, put re-signing on a cron job with monitoring.

DS/DNSKEY mismatch. If you publish a DS record at your registrar that doesn't match the KSK on your nameserver, validation fails for everyone. This usually happens during a provider migration where someone enabled DNSSEC on the new provider before updating the DS record.

Removing DNSSEC incorrectly. If you want to disable DNSSEC: remove the DS record at your registrar first, wait for TTL to expire, then disable signing on your provider. Doing it in the wrong order is the same failure mode as the migration problem above.


Monitoring after setup

DNSSEC is one of those things that works silently when it's right and breaks loudly when it's wrong. The breakage is often partial, which makes it worse to debug. Automated monitoring that continuously checks your DNSSEC chain and alerts you if signatures are about to expire or if the DS record stops matching is worth having.

ZeroHook monitors DNS record changes and flags anomalies, including DNSSEC issues, without you having to remember to check manually: zerohook.org.


TL;DR

DNSSEC signs your DNS records so resolvers can verify the answers haven't been tampered with. On managed providers (Cloudflare, Route 53, Google Cloud DNS), setup is: enable signing, copy DS record to registrar, done. The common failure modes are forgetting the DS record step, and misconfiguring during provider migrations.

If you're on a managed provider and haven't enabled it yet, you can do it right now. It takes ten minutes and you're protected against a whole class of attacks that otherwise have no defense at the DNS layer.


Part of an ongoing series on DNS security. Previous posts: DNS hijacking · Certificate Transparency logs · Subdomain takeover and dangling DNS