upstream_servers

Chris Conn cconn at abacom.com
Mon Jun 14 17:02:44 EDT 2010


Hello,

I am trying to forward DNS resolution requests to particular servers 
based on the domain.  According to the docs this can be done.  However, 
the config below does not;


upstream_servers = {}
upstream_servers["."] =  "yyy.yyy.yyy.11,yyy.yyy.yyy.131"
upstream_servers["cbl.abuseat.org."] = "xxx.xxx.xxx.2,xxx.xxx.xxx.40"
upstream_servers["dnsbl-1.uceprotect.net."] = "xxx.xxx.xxx.2,xxx.xxx.xxx.40"
upstream_servers["dnsbl-2.uceprotect.net."] = "xxx.xxx.xxx.2,xxx.xxx.xxx.40"
upstream_servers["dnsbl-3.uceprotect.net."] = "xxx.xxx.xxx.2,xxx.xxx.xxx.40"
upstream_servers["ips.backscatterer.org."] = "xxx.xxx.xxx.2,xxx.xxx.xxx.40"
upstream_servers["dnsbl.sorbs.net."] = "xxx.xxx.xxx.2,xxx.xxx.xxx.40"
upstream_servers["list.dnswl.org."] = "xxx.xxx.xxx.2,xxx.xxx.xxx.40"
upstream_servers["psbl.surriel.com."] = "xxx.xxx.xxx.2,xxx.xxx.xxx.40"


if I run a ngrep on the xxx.xxx.xxx.2 and xxx.xxx.xxx.40 servers I do 
not see any DNS requests at all.  If I check the yyy.yyy.yyy.11 and 
yyy.yyy.yyy.131 servers however, I continue to see requests for the 
defined domains being forwarded to them, along with every other DNS request.

I see from the docs that

upstream_servers["cl."] = "10.2.19.83"

Should work.  I imitated this for "com." and I do not see any requests 
on the servers in question either.


I must be doing something fundamentally wrong or this simply doesn't 
work.  Anyone care to point me in the right direction?

Thanks,

C.


More information about the list mailing list