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

--help small format fix #497

Merged
merged 4 commits into from
Jan 10, 2025
Merged

--help small format fix #497

merged 4 commits into from
Jan 10, 2025

Conversation

phillip-stephens
Copy link
Contributor

@phillip-stephens phillip-stephens commented Jan 9, 2025

Since zdns is normally installed as an executable and not run from the directory, I wanted to refer to it here as zdns instead of ./zdns

@phillip-stephens phillip-stephens marked this pull request as ready for review January 9, 2025 04:59
@phillip-stephens phillip-stephens requested a review from a team as a code owner January 9, 2025 04:59
@zakird
Copy link
Member

zakird commented Jan 10, 2025

Usage
Domains can be taken from a new-line delimited file, stdin, or passed as arguments.
./zdns A --input-file domains.txt
echo "google.com" | ./zdns A
cat domains.txt | ./zdns A
./zdns A google.com yahoo.com
Name Servers can either be specified as a global list or a per-domain name server.
./zdns A google.com --name-servers=1.1.1.1,8.8.8.8
echo "google.com,1.0.0.1" | ./zdns A
For Example:
zdns A google.com --name-servers=1.1.1.1,8.8.8.8
echo "google.com,1.0.0.1" | zdns A

I think choose one way or the other ;)

@zakird zakird self-requested a review January 10, 2025 18:50
@phillip-stephens phillip-stephens merged commit 7f4fb49 into main Jan 10, 2025
3 checks passed
@phillip-stephens phillip-stephens deleted the phillip/--help-fix branch January 10, 2025 20:25
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.

2 participants