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

Markus Ferlitsch m.ferlitsch at gmail.com
Sat Aug 18 17:23:36 EDT 2012


Thanks, I will try it! :-)



2012/8/17 test24 <test24 at mail.ru>:
> Здравствуйте, 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