Skip to content

Commit

Permalink
Renamed --trusted-resolvers argument to be more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
d3mondev committed Jul 30, 2020
1 parent 1a4fcf4 commit 20912f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Usage:
Optional:
-r, --resolvers <filename> Text file containing resolvers
-tr, --trusted-resolvers <filename> Text file containing trusted resolvers
-rt, --resolvers-trusted <filename> Text file containing trusted resolvers
-l, --limit Limit queries per second for public resolvers
(default: unlimited)
Expand Down Expand Up @@ -200,9 +200,9 @@ puredns resolve domains.txt --write valid_domains.txt \

You can use a custom list of resolvers with puredns. Simply pass the `-r` argument to the script.

You can also specify a list of custom trusted resolvers with the `-tr` argument.
You can also specify a list of custom trusted resolvers with the `-rt` argument.

`puredns resolve domains.txt -r resolvers.txt -tr trusted.txt`
`puredns resolve domains.txt -r resolvers.txt -rt trusted.txt`

## Resources

Expand Down
4 changes: 2 additions & 2 deletions puredns
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ usage() {
echo ""
echo " Optional:"
echo " -r, --resolvers <filename> Text file containing resolvers"
echo " -tr, --trusted-resolvers <filename> Text file containing trusted resolvers"
echo " -rt, --resolvers-trusted <filename> Text file containing trusted resolvers"
echo ""
echo " -l, --limit Limit queries per second for public resolvers"
echo " (default: unlimited)"
Expand Down Expand Up @@ -106,7 +106,7 @@ parse_args() {
resolvers_file=$2
shift
;;
--trusted-resolvers|-tr)
--resolvers-trusted|-rt)
trusted_resolvers_file=$2
shift
;;
Expand Down

0 comments on commit 20912f6

Please sign in to comment.