Re: [MaraDNS list] whitelist for DNS-requests...
Markus Ferlitsch <[email protected]> Sat, 18 Aug 2012 23:23:36 +0200
| Newsgroups | gmane.network.dns.maradns.general |
|---|---|
| Message-ID | <CAHFjfK4sA-VGUbasihLnXLRBKWmhc4csHjTN=pLxymW=h51SYQ@mail.gmail.com> |
Thanks, I will try it! :-) 2012/8/17 test24 <[email protected]>: > =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5, Markus. > > =F7=D9 =D0=C9=D3=C1=CC=C9 16 =D3=C5=D2=D0=CE=D1 2012 =D2., 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 > # > upstream_servers["."] =3D "128.0.0.1" # Any other requests go to unkn= own ip > > # The IP this program has > 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 > > > -- > =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, > test24 mailto:[email protected] >