Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache insert null message when can't connect dns server #27

Open
foreversunyao opened this issue Jul 2, 2017 · 0 comments
Open

cache insert null message when can't connect dns server #27

foreversunyao opened this issue Jul 2, 2017 · 0 comments

Comments

@foreversunyao
Copy link

forwarding.go

if absoluteErr != nil {
log.Errorf("[%d] Error looking up literal qname '%s' with upstreams: %v", req.Id, name, absoluteErr)
return nil
}

if not return nil here, cache will keep null message, and when dns server works dig will get null message from the cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant