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
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 <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
> 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
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
More information about the bind-users
mailing list