DNS Tools Articles
Practical guides on using DNS lookup, propagation, and monitoring tools.
8 min read
DNS Lookups in PHP: dns_get_record, gethostbyname, and Beyond
Everything you need for DNS lookups in PHP — from quick gethostbyname() calls to full dns_get_record() queries, checkdnsrr() validation, reverse DNS, and real-world email verification patterns.
10 min read
Build a DNS Resolver from Scratch in PHP
Implement the DNS protocol in PHP — construct binary query packets with pack(), send raw UDP over sockets to port 53, and parse responses with unpack(). Pure PHP, no extensions required beyond sockets.
10 min read
DNS Queries in Node.js: dns.lookup vs dns.resolve Explained
The critical difference between dns.lookup() and dns.resolve() that most Node.js tutorials miss — plus complete examples for every record type, custom resolvers, the Promises API, and TypeScript types.
8 min read
Build a DNS Resolver from Scratch in Node.js
Implement the DNS protocol in JavaScript — construct binary query packets with Buffer, send raw UDP to port 53 with dgram, and parse the responses. No dependencies, just Node.js built-ins.
8 min read
DNS Lookups in Python: Complete Guide with dnspython
Everything you need for DNS lookups in Python — from quick socket.getaddrinfo() calls to full-featured queries with dnspython. Covers all record types, custom nameservers, reverse DNS, async queries, and real-world patterns.
10 min read
Build a DNS Resolver from Scratch in Python
Learn the DNS protocol by implementing it — construct binary packets per RFC 1035, send raw UDP queries to port 53, and parse the responses. No libraries, just Python and sockets.
12 min read
The Complete dig Command Guide: Every Flag and Option Explained
Master the dig command with real examples of every useful flag — from basic lookups and +short to +trace, +dnssec, batch queries, and scripting. The only dig reference you need.
11 min read
DNS Troubleshooting Tools: What the Pros Actually Use
A practical overview of every DNS diagnostic tool worth knowing — from dig and nslookup to packet captures and performance testing — with real examples of when and how to use each one.
10 min read
How to Verify DNS Changes After Switching Hosting Providers
Switching hosting providers requires careful DNS verification to avoid downtime. Learn the step-by-step process for checking A, CNAME, MX, and NS records after a migration.