# File ../../auditor/lib/kasp_auditor/partial_auditor.rb, line 706 def check_nsec_types(nsec, types) if ((nsec.type == Types::NSEC && @config.denial.nsec) || (nsec.type == Types::NSEC3 && @config.denial.nsec3)) nsec.types.each {|type| if !(types.include?type) @parent.log(LOG_ERR, "#{nsec.type} includes #{type} which is not in rrsets for #{nsec.name}") end types.delete(type) } if (types.length > 0) # Otherwise, log the missing types s = "" types.each {|t| s = s + " #{Types.new(t).to_s} "} @parent.log(LOG_ERR, "#{s} types not in #{nsec.type} for #{nsec.name}") end end end