Archive for the ‘DNS’ Category

August 21st, 2012 by Jason Walton

So, you want to add an SPF record to your domain.

First, SPF records used to be held in TXT records, but more modern DNS systems hold the SPF data in an actual “SPF” record. If your DNS solution doesn’t support SPF, then use the TXT record instead. Either way, the format is the same. Here’s a very simple example, which only allows mail sent from an IP address listed in one of the MX records for the domain example.com:

example.com. IN SPF "v=spf1 +mx -all"

Read the rest of this entry »

January 13th, 2011 by Jason Walton

I had to spend some time this week generating a Bind9 configuration file from a database. I decided to learn Python at the same time. :) This is a quick Python module that will let you build Bind9 config files in no time flat:

Read the rest of this entry »