                         @log.warn {fn:sig+'[fail]', q:q, err:err}
                         @sendErr res
                     else
-                        # addrs.forEach (a)-> res.answer.push ip2type(q.name, ttl)(a)
                         res.answer.push (addrs.map ip2type(q.name, ttl, QTYPE_NAME[q.type]))...
                         @log.debug {fn:sig+'[success]', answer:res.answer, q:q.name}
                         res.send()

            ttl = Math.floor(Math.random() * 3600) + 30
            @log.debug "received question", {q:q}

            # for now we only handle A types.
            # TODO: handle AAAA for IPv6!
            # if q.type != NAME_QTYPE.A
            #     @log.debug "only support 'A' types ATM, deferring request!", {q:q}
            #     @oldDNSLookup(q, res)

                    @log.error {fn:sig+'[error]', err:err, answer:answer}
                    req.DNSErr = err

                req.on 'end', =>
                    unless success
                        @log.warn {fn:sig+'[fail]', q:q, err:req.DNSErr}
