diff options
author | 2022-04-26 00:05:24 +0800 | |
---|---|---|
committer | 2022-04-25 12:05:24 -0400 | |
commit | c1857f488922d981f4b33f5c1b8518ff7d13a663 (patch) | |
tree | d04e9cc360c5387918c5b9006ea303035a05e61e /plugin/file/lookup.go | |
parent | cab19747bcab70ebb3e1ce2b06416abc2fcf2c77 (diff) | |
download | coredns-c1857f488922d981f4b33f5c1b8518ff7d13a663.tar.gz coredns-c1857f488922d981f4b33f5c1b8518ff7d13a663.tar.zst coredns-c1857f488922d981f4b33f5c1b8518ff7d13a663.zip |
plugin/file: unified NoData result (#5086)
Signed-off-by: xuweiwei <xuweiwei_yewu@cmss.chinamobile.com>
Diffstat (limited to 'plugin/file/lookup.go')
-rw-r--r-- | plugin/file/lookup.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/file/lookup.go b/plugin/file/lookup.go index f92cba66f..08eed7d61 100644 --- a/plugin/file/lookup.go +++ b/plugin/file/lookup.go @@ -230,7 +230,7 @@ func (z *Zone) Lookup(ctx context.Context, state request.Request, qname string) nsec := typeFromElem(wildElem, dns.TypeNSEC, do) ret = append(ret, nsec...) } - return nil, ret, nil, Success + return nil, ret, nil, NoData } if do { |