box-o-sand/cookbook/014/04.rb
2011-07-25 22:36:02 -04:00

4 lines
83 B
Ruby

require 'resolv'
Resolv::DNS.new.each_address('oreilly.com') { |addr| puts addr }