[MaraDNS list] whitelist for DNS-requests...

test24 test24 at mail.ru
Fri Aug 17 00:22:01 EDT 2012


Здравствуйте, Markus.

Вы писали 16 серпня 2012 р., 22:45:22:

> Hi,

> I want to run a recursive DNS-Server but it only should resolve some
> domains I want to allow.
> I only want to allow some domains to be resolved. Can maradns do this?

> Regards, Markus

upstream_servers = {}
upstream_servers["domain1."] = "ip1"            # NS for domain1
upstream_servers["domain2.com."] = "ip2"        # NS for domain2.com
# 
upstream_servers["."] = "128.0.0.1"     # Any other requests go to unknown ip

# The IP this program has 
bind_address="127.0.0.1, ..."

# The IPs allowed to connect and use the cache and load balancer
recursive_acl = "127.0.0.1/16,"
recursive_acl += ".../24,"              # Network 1
recursive_acl += ".../24"               # Network 2

num_retries = 1
timeout_seconds = 3
timeout_seconds_tcp = 4


-- 
С уважением,
 test24                          mailto:test24 at mail.ru



More information about the list mailing list