Linux

Bind9 Wildcard DNS

May 8, 2012 Rich 1 min read

Decided instead of managing all the DNS records for techish.net. that I would just setup wildcard entry for techish.net.
In my zone master file, I added the following:

*.techish.net. IN A 74.219.241.252

Then I reloaded bind9

/etc/init.d/bind9 reload

Voila, wildcard DNS.  Make sure you put the entry after all your static definitions and if you add more static definitions, put them above that wildcard entry.

Leave a comment