'Organize the records of a DNS response by record name.
@type records: 3-L{tuple} of (0) L{list} of L{RRHeader
<twisted.names.dns.RRHeader>}, (1) L{list} of L{RRHeader
<twisted.names.dns.RRHeader>}, (2) L{list} of L{RRHeader
<twisted.names.dns.RRHeader>}
@param records: Answer resource records, authority resource records and
additional resource records.
@rtype: L{dict} mapping L{bytes} to L{list} of L{IRecord
<twisted.names.dns.IRecord>} provider
@return: A mapping of record name to record payload.'

def _filterRecords(self, records):

    recordBag = {}
    for answer in records[0]:
        recordBag.setdefault(str(answer.name), []).append(answer.payload)
    return recordBag
