Skip to content

--help small format fix#497

Merged
phillip-stephens merged 4 commits intomainfrom
phillip/--help-fix
Jan 10, 2025
Merged

--help small format fix#497
phillip-stephens merged 4 commits intomainfrom
phillip/--help-fix

Conversation

@phillip-stephens
Copy link
Copy Markdown
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
Copy Markdown
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
@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