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

Add DNS-specific validation #118

Merged
merged 1 commit into from
Feb 16, 2021
Merged

Add DNS-specific validation #118

merged 1 commit into from
Feb 16, 2021

Conversation

mem
Copy link
Contributor

@mem mem commented Feb 15, 2021

DNS records should be hostnames, not IP addresses, and they have their
own rules (e.g. a fully qualified DNS name ends with a full stop, so
something like "google." is a valid query, but "google" isn't).

Allow for querying "localhost" and "localhost.", too.

Closes #75

Signed-off-by: Marcelo E. Magallon marcelo.magallon@grafana.com

DNS records should be hostnames, not IP addresses, and they have their
own rules (e.g. a fully qualified DNS name ends with a full stop, so
something like "google." is a valid query, but "google" isn't).

Allow for querying "localhost" and "localhost.", too.

Closes #75

Signed-off-by: Marcelo E. Magallon <marcelo.magallon@grafana.com>
@mem mem requested a review from a team as a code owner February 15, 2021 22:19
Copy link
Member

@electron0zero electron0zero left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@mem mem merged commit 2e8113b into master Feb 16, 2021
@mem mem deleted the issue_75 branch February 16, 2021 15:02
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.

Allow localhost as the target of DNS checks
2 participants