Using resolv.rb


#1

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


#2

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. - removed_email_address@domain.invalid - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com