From: Samuel Williams Date: 2013-05-22T14:45:34+09:00 Subject: Re: [ANN] RubyDNS - asynchronous DNS client and server for Ruby. --001a11c37170eb820a04dd48124b Content-Type: text/plain; charset=ISO-8859-1 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-L41 You'll need to follow the instructions L40-41 to get a geo-ip database. Does that answer your question? On 22 May 2013 14:02, botp wrote: > On Wed, May 22, 2013 at 7:02 AM, Samuel Williams < > space.ship.traveller@gmail.com> wrote: > >> Hi botp, you can create any configuration of DNS you like. RubyDNS >> doesn't have a concept of zone files or anything like that,... >> > > Hi Samuel, > apologies in advance for any stupid question. > Maybe i should simplify my q: > > say, I have a list of names w corresponding ip addresses in a text file. > now if a query comes in asking for an ip (among others) of a name, i'd > look inside the text file for that name, and output the ip if any... > > problem is, i'd like to get more info about the query.. like what, where > is it coming fr, etc.. > > thanks again, > -botp > > > > --001a11c37170eb820a04dd48124b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi, you can use geo-ip for finding the location, geographi= cally speaking. There is an example of how to do this:=A0

On 22 May 2013 14:02, b= otp <botpena@gmail.com> wrote:
On Wed, May 22, 2013 at 7:0= 2 AM, Samuel Williams <space.ship.traveller@gmail.com>= wrote:
Hi botp, you can create any configuration of DNS you like.= RubyDNS doesn't have a concept of zone files or anything like that,...=

Hi Samuel,
apologies in ad= vance for any stupid question.
Maybe i should simplify my q:

say, I have a l= ist of names w corresponding ip addresses in a text file.
now if = a query comes in asking for an ip (among others) of a name, i'd look in= side the text file for that name, and output the ip if any...

problem is, i'd like to get more info about the que= ry.. like what, where is it coming fr, etc..

thank= s again,
-botp




--001a11c37170eb820a04dd48124b--