Lookup answer depends on query source

Chris Buxton cbuxton at menandmice.com
Sun Oct 12 15:54:36 UTC 2008


Using BIND, the only way to achieve this is views. You may want to  
look at specialized DNS software or appliance solutions that will be  
able to do this more easily than BIND's views feature.

Chris Buxton
Professional Services
Men & Mice

On Oct 9, 2008, at 5:53 PM, Mr. Chow Wing Siu wrote:

> Dear all,
>
> I wanna setup as follows:
>
> Use-case ONE)
> Query source for xxxx.com from:		Lookup IP answer:	
> *.hk					111.111.111.111
> *.cn					111.111.111.112
> *.uk					111.111.111.113
>
> Use-case TWO)
> Query source for xxxx.com from:		Lookup IP answer:	
> 222.111.111.111 (from country A)	111.111.111.111
> 226.111.111.111 (from country A)	111.111.111.111
> 228.123.111.111 (from country A)	111.111.111.111
> 222.111.222.111 (from country B)	111.111.111.112
> 226.111.222.111 (from country B)	111.111.111.112
> 228.125.111.111 (from country B)	111.111.111.112
>
> Using BIND view to setup seems to be not so good.  Isn't it?
> Then, do anyone knows how to setup as above?
>
> Thanks in advance.
>
> --
> Johnson Chow
>



More information about the bind-users mailing list