Configure Spamassassin to use URIBL and Google Public DNS

dnsdnsmasqemail

I use Google Public DNS servers on my mail server. However, URIBL and other spam blocking sites (which work over DNS) block major DNS sites such as Google Public DNS.

I think if I run my own DNS server on my mail server, then URIBL and others will work because my server IP won't be blacklisted.

How do I accomplish this with an open source DNS server?

EDIT:

I really want to avoid running BIND if possible. I want to use something lightweight such as dnsmasq or pdnsd, thinking that this is more secure.

Best Answer

You should use the BIND DNS server. It's fairly straight forward. On Debian systems, use:

$ sudo apt-get install bind9

Then configure your resolv.conf to point to localhost.

Related Question