refer to 'split' DNS using views here's something: http://www.zytrax.com/books/dns/ch7/view.html
in a nutshell.. you have to - have 2 views, same zone per view - either have two different zone files... and maintain it separately. (or you may have two zone files and segregate the differences, while those RRs that are common can be on another file referred by an include statement) --- On Fri, 12/5/08, Ken DBA <[EMAIL PROTECTED]> wrote: > From: Ken DBA <[EMAIL PROTECTED]> > Subject: how to archieve this? > To: "bind-users" <[EMAIL PROTECTED]> > Date: Friday, December 5, 2008, 4:57 PM > Hello, > > We are running a commercial site. We want bind to execute > some additional actions before the response, listed as > below: > > 1) Client querys for www.site.com's ARR. > 2) Bind gets client's IP, and calculate something based > on this IP. > 3) If IP matchs condition A, return the ARR of > "www.site.com -> 1.1.1.1". > If IP matchs condition B, return the ARR of > "www.site.com -> 2.2.2.2". > If IP matchs condition C, return Refused. > > > How to implement this architecture on Bind? Does Bind > provide some programming API like Apache's APR? Thanks > in advance. > > > Ken. > > > > > > _______________________________________________ > bind-users mailing list > [email protected] > https://lists.isc.org/mailman/listinfo/bind-users _______________________________________________ bind-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/bind-users

