Skip to content

Instantly share code, notes, and snippets.

View jsm's full-sized avatar

Jon San Miguel jsm

View GitHub Profile
@nsbingham
nsbingham / local-dnsserver.md
Last active June 17, 2025 14:52
Testing a CNAME

Setting up a local DNS server with bind on OSX Mavericks

This is really just an approach for locally testing DNS changes, which can easily be done with a HOSTS file if the change involves an IP address, but gets a bit trickier when things like CNAMEs are involved. This is only meant to test locally off a single machine.

  1. Install bind using homebrew

    brew install bind

  2. Follow the installation steps to start up bind