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

Question: will DNS error trigger forwarder disable too? #54

Closed
xlighting2017 opened this issue Aug 30, 2018 · 2 comments
Closed

Question: will DNS error trigger forwarder disable too? #54

xlighting2017 opened this issue Aug 30, 2018 · 2 comments
Labels

Comments

@xlighting2017
Copy link

now we have the ability to detect an error(maxFailure), but I'm wondering if the DNS forward/Query error will increase the failure counter, and ultimately disable a forwarder?

my test shows it will not, but DNS failure will also block the user from using the Internet correctly...

@nadoo
Copy link
Owner

nadoo commented Aug 30, 2018

Hi @xlighting2017 , if there's no forwarder, or only 1 forwarder specified, glider will not count the failure times because there's no need to disable a forwarder.

If there are 2 forwarders or more, then glider will increase the failure counts when a tcp dial failed, the count will be increased when we can not get a valid tcp connection to dns server.

If we can connect dns server in tcp via forwarder successfully, but there are some errors in dns message format parsing, then maybe we have some problems in compatibility or settings, we should improve dns parsing functions or use a new dns server, so the failure count will not be increased.

@xlighting2017
Copy link
Author

Thanks for the details!

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

No branches or pull requests

2 participants