# File ../../auditor/lib/kasp_auditor/partial_auditor.rb, line 519 def test_rr_type(line) # See if the line contains a type of interest. type = line.split()[3] if (type == "DNSKEY") begin key_rr = RR.create(line) @algs.push(key_rr.algorithm) if !@algs.include?key_rr.algorithm rescue Exception => e end end if (type == "SOA" || type == "soa") @soa = RR.create(line) end method = @types_to_find[type] if (method) # Find the correct test for the RR and then perform it. method.call(line) end if (DNSSEC_TYPES.include?(type)) else @non_dnssec_rr_count += 1 end end