how to archieve this?
ivan jr sy
ivan_jr at yahoo.com
Fri Dec 5 04:05:59 UTC 2008
refer to 'split' DNS using views
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 <mysqld at yahoo.cn> wrote:
> From: Ken DBA <mysqld at yahoo.cn>
> Subject: how to archieve this?
> To: "bind-users" <bind-users at isc.org>
> Date: Friday, December 5, 2008, 4:57 PM
> We are running a commercial site. We want bind to execute
> some additional actions before the response, listed as
> 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 -> 184.108.40.206".
> If IP matchs condition B, return the ARR of
> "www.site.com -> 220.127.116.11".
> 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.
> bind-users mailing list
> bind-users at lists.isc.org
More information about the bind-users