lib/socketry/resolver/resolv.rb in socketry-0.3.0 vs lib/socketry/resolver/resolv.rb in socketry-0.4.0
- old
+ new
@@ -1,6 +1,8 @@
# frozen_string_literal: true
+require "resolv"
+
module Socketry
module Resolver
# Pure Ruby DNS resolver provided by the standard library
class Resolv
# Resolve a hostname by creating and discaring a Socketry::Resolver::Resolv