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

Changed cache behavior such that timeouts are cached along with failures #25

Closed
wants to merge 1 commit into from

Conversation

mtopper
Copy link
Contributor

@mtopper mtopper commented Jun 25, 2016

I've had issues with the DNS plugin and resolving large amounts of domain names. I've found that timeouts are almost always a sign that the query is never going to succeeded from my configured DNS server, rather than an indication of a network issue.

Therefore, I modified my local copy of this plugin to treat timeouts as failures so that they can be cached.

@pemontto
Copy link

pemontto commented Jul 7, 2017

Any reason this hasn't been merged yet?

@jordansissel
Copy link
Contributor

@pemontto probably nobody has reviewed it

@saimoon
Copy link

saimoon commented Jul 19, 2017

Great,
I applied this change too.
Please can you merge this request?
It resolves the problem with a large amount of failed dns requests.
Thanks

Copy link
Contributor

@robcowart robcowart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. A useful change.

andrewvc added a commit to andrewvc/logstash-filter-dns that referenced this pull request Mar 9, 2018
@andrewvc andrewvc mentioned this pull request Mar 9, 2018
andrewvc added a commit to andrewvc/logstash-filter-dns that referenced this pull request Mar 9, 2018
@andrewvc
Copy link
Contributor

Fix released in 3.0.8

Thanks for the contribution @mtopper !

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

Successfully merging this pull request may close these issues.

6 participants