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

chore(dns): log only the root domain if not found in provider #1118

Merged
merged 1 commit into from
May 18, 2024

Conversation

WaterLemons2k
Copy link
Contributor

What does this PR do?

Logging only the root domain if the domain is not found in the DNS provider.

Useful when publicsuffix provides a wrong root domain.

Motivation

Additional Notes

Now, when we list a zone, the logs alone can't determine which parts of the domain are being used as a root domain.
Therefore, if `publicsuffix` provides a wrong root domain, the domain won't be found in the DNS provider even if it exists.

We can solve this by logging only the root domain, since only the root domain is used to list zones; users will also know what's causing it.
@jeessy2 jeessy2 merged commit 354c53f into jeessy2:master May 18, 2024
2 checks passed
@WaterLemons2k WaterLemons2k deleted the root-domain branch May 18, 2024 13:59
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.

None yet

2 participants