diff --git a/resolver.go b/resolver.go index 9c959766..57d142a8 100644 --- a/resolver.go +++ b/resolver.go @@ -525,6 +525,7 @@ func (r *Resolver) exchange(server *cache.AuthServer, req *dns.Msg, c *dns.Clien } func (r *Resolver) searchCache(q dns.Question, cd bool) (servers *cache.AuthServers, parentdsrr []dns.RR) { + q.Qtype = dns.TypeNS // we should look NS type caches key := cache.Hash(q, cd) ns, err := r.Ncache.Get(key) diff --git a/utils.go b/utils.go index dc5ee8df..0c9a4444 100644 --- a/utils.go +++ b/utils.go @@ -154,6 +154,7 @@ func verifyDS(keyMap map[uint16]*dns.DNSKEY, parentDSSet []dns.RR) error { if !present { continue } + //TODO: miek dns lib doesn't support GOST 34.11 currently ds := ksk.ToDS(parentDS.DigestType) if ds == nil { if i != len(parentDSSet)-1 {