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

Honor dns TTL #91

Closed
Savemech opened this issue Dec 23, 2016 · 4 comments
Closed

Honor dns TTL #91

Savemech opened this issue Dec 23, 2016 · 4 comments

Comments

@Savemech
Copy link

Hi there, i'm facing sometime follow issue:
blackbox_exporter log:

WARN[0675] Error for HTTP request to https://somefancyhost.com/home: Get https://somefancyhost.com/home: dial tcp4: lookup somefancyhost.com on some-dns-server:53: no such host  source=http.go:164
WARN[0675] Error for HTTP request to https://somefancyhost.com/home: Get https://somefancyhost.com/home: dial tcp4: lookup somefancyhost.com on some-dns-server:53: no such host  source=http.go:164
WARN[0675] Error for HTTP request to https://somefancyhost.com/home: Get https://somefancyhost.com/home: dial tcp4: lookup somefancyhost.com on some-dns-server:53: no such host  source=http.go:164
WARN[0675] Error for HTTP request to https://somefancyhost.com/home: Get https://somefancyhost.com/home: dial tcp4: lookup somefancyhost.com on some-dns-server:53: no such host  source=http.go:164
WARN[0675] Error for HTTP request to https://somefancyhost.com/home: Get https://somefancyhost.com/home: dial tcp4: lookup somefancyhost.com on some-dns-server:53: no such host  source=http.go:164

dig output:

somefancyhost.com.  3600    IN      A       10.0.0.2

Any chance to get some cache for dns queries and honor DNS record TTL, to not bomb dns server with requests, while measuring http/tcp?

@brian-brazil
Copy link
Contributor

We're using standard DNS lookup mechanisms. If you want caching I'd suggest checking your local resolver.

@Savemech
Copy link
Author

Assuming that, you're guys don't want implement dns caching as feature?

@brian-brazil
Copy link
Contributor

That's the responsibility of the local resolver, it's not for individual applications to have to re-implement.

@Savemech
Copy link
Author

Thank you for explanation

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

2 participants