demo/check_soa.rb in net-dns2-0.8.6 vs demo/check_soa.rb in net-dns2-0.8.7

- old
+ new

@@ -66,10 +66,10 @@ #---------------------------------------------------------------------- # Get the SOA record. #---------------------------------------------------------------------- - soa_req = res.send(domain, Net::DNS::SOA, Net::DNS::IN) + soa_req = res.query(domain, Net::DNS::SOA, Net::DNS::IN) if soa_req == nil puts res.errorstring, "\n" next end