Using resolv.rb

Hello All

I am working on developing an application that does mx/a/ns lookups .
I was looking into the resolv.rb lib.

http://www.eng.dmu.ac.uk/~hgs/ruby/RUBY_SNAPSHOT_RDOC/files/lib/ruby/1_8/resolv_rb.html

Also I would like to be able to easy open a socket to a port/ip and
get/send
a response.
What lib would be easiest to use ?

I am new to Ruby/Rails, but come from a OOP background.

Thank You

On Feb 25, 2006, at 1:12 AM, SmallFries wrote:

I am working on developing an application that does mx/a/ns lookups .
I was looking into the resolv.rb lib.

Resolv::DNS does that quite well.

d like to be able to easy open a socket to a port/ip and get/send
a response.
What lib would be easiest to use ?

Use the built-in socket library.


Eric H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com