mirror of
https://github.com/coredns/coredns.git
synced 2025-12-09 03:45:11 -05:00
* Authoritative Answer - DNSKEY * Improve Style
This commit is contained in:
@@ -26,6 +26,7 @@ func (d Dnssec) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg)
|
||||
for _, z := range d.zones {
|
||||
if qname == z {
|
||||
resp := d.getDNSKEY(state, z, do)
|
||||
resp.Authoritative = true
|
||||
state.SizeAndDo(resp)
|
||||
w.WriteMsg(resp)
|
||||
return dns.RcodeSuccess, nil
|
||||
|
||||
Reference in New Issue
Block a user