Skip to content

Commit

Permalink
forgot about --input-file
Browse files Browse the repository at this point in the history
  • Loading branch information
phillip-stephens committed Sep 13, 2024
1 parent f86bb41 commit 1e50ced
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,18 @@ ZDNS supports providing input in a variety of formats depending on the desired b

The most basic input is a list of names separated by newlines. For example:

From `echo`:
From stdin:
```
echo "google.com" | ./zdns A
```
From a file:
```bash
echo "google.com\nyahoo.com" | ./zdns A
cat list_of_domains.txt | ./zdns A
```

From a file
```shell
./zdns A --input-file=list_of_domains.txt
```


### Dig-style Input
If you don't need to resolve many domains, providing the domain as CLI argument, similar to `dig`, is supported for ease-of-use.

Expand Down

0 comments on commit 1e50ced

Please sign in to comment.