Some tiny changes and new benchmark test function (#136)

This commit is contained in:
Miek Gieben
2016-04-26 20:45:29 +01:00
parent 1aa1a92198
commit efd5135ee3
4 changed files with 45 additions and 4 deletions

View File

@@ -33,7 +33,6 @@ func roundRobin(in []dns.RR) []dns.RR {
for _, r := range in {
switch r.Header().Rrtype {
case dns.TypeCNAME:
// d d d d DNAME and friends here as well?
cname = append(cname, r)
case dns.TypeA, dns.TypeAAAA:
address = append(address, r)