Running split DNS at home with dnsmasq
How to resolve the same hostname locally at home and through a public route outside, using dnsmasq on a Raspberry Pi.

Mohammad Afzal is a Senior Staff Engineer with more than a decade of experience building and modernizing cloud-native systems across banking, insurance, SaaS, and product platforms. He works across Java, Spring Boot, AWS, Kubernetes, DevOps, and applied AI, and writes about engineering decisions, automation, and lessons from running systems in practice.
How to resolve the same hostname locally at home and through a public route outside, using dnsmasq on a Raspberry Pi.

What I learned while replacing a server-driven push with an automatic Ubuntu-to-Mac pull, and the small details that made it reliable.
