Re: [MaraDNS list] whitelist for DNS-requests...
test24 <[email protected]> Fri, 17 Aug 2012 07:22:01 +0300
| Newsgroups | gmane.network.dns.maradns.general |
|---|---|
| Message-ID | <[email protected]> |
=C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Markus.
=C2=FB =EF=E8=F1=E0=EB=E8 16 =F1=E5=F0=EF=ED=FF 2012 =F0., 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 =3D {}
upstream_servers["domain1."] =3D "ip1" # NS for domain1
upstream_servers["domain2.com."] =3D "ip2" # NS for domain2.com
#=20
upstream_servers["."] =3D "128.0.0.1" # Any other requests go to unknow=
n ip
# The IP this program has=20
bind_address=3D"127.0.0.1, ..."
# The IPs allowed to connect and use the cache and load balancer
recursive_acl =3D "127.0.0.1/16,"
recursive_acl +=3D ".../24," # Network 1
recursive_acl +=3D ".../24" # Network 2
num_retries =3D 1
timeout_seconds =3D 3
timeout_seconds_tcp =3D 4
--=20
=D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC,
test24 mailto:[email protected]