From: Samuel Williams Date: 2013-05-22T23:40:11+09:00 Subject: Re: [ANN] RubyDNS - asynchronous DNS client and server for Ruby. --047d7b33da6e63bb4904dd4f32ac Content-Type: text/plain; charset=ISO-8859-1 1. https://github.com/ioquatix/rubydns/blob/master/test/examples/geoip-dns.rb#L57 2. https://github.com/ioquatix/rubydns/blob/master/lib/rubydns/transaction.rb#L43-L51 Does that help? On 22 May 2013 22:02, botp wrote: > On Wed, May 22, 2013 at 1:45 PM, Samuel Williams < > space.ship.traveller@gmail.com> wrote: > >> Hi, you can use geo-ip for finding the location, geographically speaking. >> There is an example of how to do this: >> https://github.com/ioquatix/rubydns/blob/master/test/examples/geoip-dns.rb#L40-L41You'll need to follow the instructions L40-41 to get a geo-ip database. >> Does that answer your question? >> > > sorry Samuel, i confused you again. > when i say IP, i just meant the ip address of the client querying my dns > server. > > for now, i just want to get two things from the requesting client: > 1 the ip of the client > 2 the query object (and its attributes) issued by the client > > --047d7b33da6e63bb4904dd4f32ac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
1.=A0https://github.com/ioquatix/rubydns/b= lob/master/test/examples/geoip-dns.rb#L57
2.=A0= https://github.com/ioquatix/rubydns/blob/master/lib/rubydns/transaction.rb#= L43-L51

Does that help?


On 22 May 2013 22:02, botp <botpen= a@gmail.com> wrote:
On Wed, M= ay 22, 2013 at 1:45 PM, Samuel Williams <space.ship.traveller= @gmail.com> wrote:
Hi, you can use geo-ip for finding the location, geographi= cally speaking. There is an example of how to do this:=A0https://github.com/ioquatix/rubydns/blob/master/test/ex= amples/geoip-dns.rb#L40-L41 You'll need to follow the instructions = L40-41 to get a geo-ip database. Does that answer your question?

sorry Samuel, i confused you again.<= /div>
when i say IP, i just meant the ip address of the client querying= my dns server.=A0

for now, i just want to get= two things from the requesting client:
1 the ip of the client
2 the query object (and its attribute= s) issued by the client


--047d7b33da6e63bb4904dd4f32ac--