Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
DNS testing tools
Remoh
Commits
a25182a9
Commit
a25182a9
authored
Apr 17, 2020
by
Alexandre
Browse files
Expand availabality of option --no-display-results
parent
d186b919
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
a25182a9
...
...
@@ -63,6 +63,7 @@ Possible options, besides `--dot`:
*
--file INPUT_FILE: provide an input file with a list of domain name to query
(read the first line only, use --repeat N to read up to N lines of the file)
*
--repeat N: repeat a test N times or read up to N lines of a file
*
--no-display-results: do not output DNS response
### Check
...
...
@@ -146,7 +147,6 @@ For example :
In order to focus on the time per request, you can suppress the
output by using the option
`--no-display-results`
.
This option only works with
`--multistreams`
.
Two modes are available. By default each response is read,
checked and displayed as soon as it is received.
...
...
homer.py
View file @
a25182a9
...
...
@@ -661,7 +661,7 @@ def print_result(connection, request, prefix=None, display_err=True):
size
=
request
.
response_size
if
(
dot
and
rcode
)
or
(
not
dot
and
rcode
==
200
):
if
not
monitoring
:
if
not
check
or
verbose
:
if
display_results
and
(
not
check
or
verbose
)
:
print
(
msg
)
else
:
if
expect
is
not
None
and
expect
not
in
str
(
request
.
response
):
...
...
@@ -961,9 +961,6 @@ if not monitoring:
if
sync
and
not
multistreams
:
usage
(
"--sync cannot be used without --multistreams"
)
sys
.
exit
(
1
)
if
not
display_results
and
not
multistreams
:
usage
(
"--no-display-results cannot be used without --multistreams"
)
sys
.
exit
(
1
)
if
show_time
and
not
multistreams
:
usage
(
"--time cannot be used without --multistreams"
)
sys
.
exit
(
1
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment