# File lib/dnstraverse/message_utility.rb, line 129
    def msg_authority(msg)
      ns = []
      soa = []
      other = []
      for rr in msg.authority do
        type = rr.type.to_s
        klass = rr.klass.to_s
        if type.casecmp('NS') == 0 && klass.casecmp('IN') == 0
          ns.push rr
        elsif type.casecmp('SOA') == 0 && klass.casecmp('IN') == 0
          soa.push rr
        else
          other.push rr
        end
      end
      return ns, soa, other      
    end