lib/net/dns/resolver.rb in net-dns2-0.8.5 vs lib/net/dns/resolver.rb in net-dns2-0.8.6

- old
+ new

@@ -1224,11 +1224,10 @@ raise ArgumentError, "No source address specified, cannot send" end @config[:nameservers].each do |ns| octet = PacketFu::Octets.new - packet.eth_daddr = PacketFu::Utils.arp(ns.to_s, {iface: @config[:interface]}) octet.read_quad ns.to_s packet.ip_dst = octet packet.udp_dst = 53 packet.recalc arg=:all packet.to_w @config[:interface] @@ -1261,10 +1260,9 @@ raise ArgumentError, "No source address specified, cannot send" end @config[:nameservers].each do |ns| octet = PacketFu::Octets.new - packet.eth_daddr = PacketFu::Utils.arp(ns.to_s, {iface: @config[:interface]}) octet.read_quad ns.to_s packet.ip_dst = octet packet.udp_dst = 53 packet.recalc arg=:all packet.to_w @config[:interface]