Re: [MaraDNS list] Limiting DNS requests
Sam Trenholme <[email protected]> Thu, 29 Dec 2011 02:21:18 -0800
| Newsgroups | gmane.network.dns.maradns.general |
|---|---|
| Message-ID | <CAJxgfkQ0CMGFHD8sPAcsX_Ks_vJSWagmkfX2BLEZN=BQ0jVDRw@mail.gmail.com> |
This is called "split horizon" and no, MaraDNS doesn't implement it. While my tip jar is full enough to answer this email, it's not quite full enough for me to bother implementing this. Also, there's some issues with how the hash of DNS records is indexed by MaraDNS to make this a little tricky to shoehorn in to the current code. The workaround, of course, is to run multiple copies of MaraDNS. MaraDNS is small enough that this is not unreasonable. - Sam On Wed, Dec 28, 2011 at 10:07 PM, William <[email protected]> wrote: > Hello, > > I'm wondering if there's a way to limit dns responses by IP. For example > > csv2["example.net."] = "example.net" > csv2["test.net."] = "test.net" > > ipv4_bind_addresses = "10.0.0.2, 10.0.0.3, 10.0.0.4, 10.0.0.5" > > example.net has name servers pointed at 10.0.0.2 and 10.0.0.3 > test.net has name servers pointed at 10.0.0.4 and 10.0.0.5 > > If I query 10.0.0.4 for example.net it will return the queries. Is it > possible for it to return not found? > > Best Regards, > William