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

Handle IPv6 DNS server addresses / get rid of error logging #377

Closed
juliusv opened this Issue Feb 3, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@juliusv
Copy link
Member

juliusv commented Feb 3, 2014

Currently, when resolv.conf contains an IPv6 DNS server before an IPv4 server entry, like:

nameserver ::1

...Prometheus tries to resolve SD names via this server, but fails to parse the IPv6 address and logs:

Resolving XXXXXX failed: dial udp: too many colons in address ::1:53

This is adding unnecessary noise to the logs and should be fixed (either parsing correctly, skipping IPv6 entries, or removing the logging in this case).

@juliusv juliusv self-assigned this Mar 9, 2014

@juliusv juliusv closed this in 84df022 Mar 10, 2014

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 25, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 25, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.