DNS resolution based on source network

Warren Kumari warren at kumari.net
Mon Sep 27 17:15:07 UTC 2010


On Sep 27, 2010, at 9:00 AM, Thomas Elsgaard wrote:

> Hello
>
> Is it possible with BIND, to resolve the same name (like test.gl) to
> different IP's based on the source network of the request?
>
> Here is an example
>
> A machine in network 10.3.0.0/16 is contacting DNS to lookup
> "test.gl", DNS returns -> 10.0.0.2
> A machine in network 10.5.0.0/16 is contacting DNS to lookup
> "test.gl", DNS returns -> 10.0.0.5

Yup, one use of this is geolocation / GSLB / "stupid DNS tricks":

http://backreference.org/2010/02/01/geolocation-aware-dns-with-bind/

http://www.ip2location.com/ip2location-bind-dns.aspx

and a whole heap more...

W



>
> Thomas
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

--
Consider orang-utans.
In all the worlds graced by their presence, it is suspected that they  
can talk but choose not to do so in case humans put them to work,  
possibly in the television industry. In fact they can talk. It's just  
that they talk in Orang-utan. Humans are only capable of listening in  
Bewilderment.
-- Terry Practhett





More information about the bind-users mailing list