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

Clarify examples in README #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mexon
Copy link

@mexon mexon commented Jan 6, 2024

I found the examples in the README pretty confusing.

The examples as given don't actually produce the documented output, largely because the main example includes custom patterns. The example output of --list assumes you did include custom patterns, but the example output of resolvectl query assumes you did not.

Also it dives straight into using a prefix instead of simply the configured domain name. A naive user like me probably just wants "machine.test", so why is it talking about "test.machine.test"? Is the prefix supposed to be the same as the TLD?

So I moved the custom patterns stuff to a separate section. I removed the prefixes and instead added a small note. And I tidied up the example output to be consistent with the simplest case.

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.

1 participant