can bind filter the result

Steve Shockley steve.shockley at shockley.net
Mon Apr 20 18:04:32 UTC 2009


On 4/20/2009 2:55 AM, Ken Lai wrote:
> normally, the client sent the query to SrvA, and SrvA forwards it to
> SrvB. and SrvA return a result which came from SrvB to the client.
> unfortunately the SrvB sometimes will return a A record that is a
> advertisement site ip to SrvA. so i dont want to respond  to client if
> the returned IP address is the Advertisement site address.

It sounds like SrvB is intentionally badly broken.  From your 
description, at best it's returning advertising sites for non-existing 
domains, at worst it just returns ad sites at random for any query.

You'd probably be better off just resolving the addresses yourself (on 
SrvA) rather than forwarding your requests upstream.



More information about the bind-users mailing list