Forum: Ruby Using resolv.rb

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Aab2b7a79112b8e084441d92ec0a5dbc?d=identicon&s=25 SmallFries (Guest)
on 2006-02-25 10:14
(Received via mailing list)
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_R...

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
58479f76374a3ba3c69b9804163f39f4?d=identicon&s=25 Eric Hodel (Guest)
on 2006-02-25 10:41
(Received via mailing list)
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 Hodel - drbrain@segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com
This topic is locked and can not be replied to.