Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
DNS testing tools
Remoh
Commits
b6f360a0
Commit
b6f360a0
authored
Apr 14, 2020
by
Alexandre
Browse files
Remove short option for debug
Short option -d is already in use as the short option for --delay
parent
c5601734
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
b6f360a0
...
...
@@ -45,7 +45,7 @@ Total elapsed time: 0.07 seconds (66.72 ms/request )
Possible options, besides
`--dot`
:
*
--verbose or -v: Makes the program more talkative
*
--debug
or -d
: Makes the program very talkative (sets verbose to true)
*
--debug: Makes the program very talkative (sets verbose to true)
*
--head or -e: (DoH) Uses only the HEAD HTTP method. Since the RFC
does not mention it, result is probably indefinite.
*
--POST or -P: (DoH) Uses the POST HTTP method (default is GET)
...
...
@@ -121,7 +121,8 @@ one):
```
When repeating tests, you can add a delay between tests, with
`--delay
N`
, where N is the (possibly fractional) number of seconds to wait.
N`
or
`-d N`
, where N is the (possibly fractional) number of seconds
to wait.
### Monitoring with Nagios, Icinga, or similar software
...
...
homer.py
View file @
b6f360a0
...
...
@@ -793,7 +793,7 @@ if not monitoring:
name
=
None
message
=
None
try
:
optlist
,
args
=
getopt
.
getopt
(
sys
.
argv
[
1
:],
"hv
d
PkeV:r:f:d:t46"
,
optlist
,
args
=
getopt
.
getopt
(
sys
.
argv
[
1
:],
"hvPkeV:r:f:d:t46"
,
[
"help"
,
"verbose"
,
"debug"
,
"dot"
,
"head"
,
"insecure"
,
"POST"
,
"vhost="
,
"dnssec"
,
"noedns"
,
"ecs"
,
"repeat="
,
"file="
,
"delay="
,
...
...
@@ -808,7 +808,7 @@ if not monitoring:
dot
=
True
elif
option
==
"--verbose"
or
option
==
"-v"
:
verbose
=
True
elif
option
==
"--debug"
or
option
==
"-d"
:
elif
option
==
"--debug"
:
debug
=
True
verbose
=
True
elif
option
==
"--HEAD"
or
option
==
"--head"
or
option
==
"-e"
:
...
...
tests.yaml
View file @
b6f360a0
...
...
@@ -144,7 +144,7 @@ tests:
-
'
doh'
-
'
check'
args
:
-
'
-
d
'
-
'
-
-debug
'
-
'
--check'
-
'
https://doh.bortzmeyer.fr'
-
'
www.afnic.fr'
...
...
@@ -156,7 +156,7 @@ tests:
-
'
doh'
-
'
check'
args
:
-
'
-
d
'
-
'
-
-debug
'
-
'
--check'
-
'
https://doh.bortzmeyer.fr'
-
'
curl.haxx.se'
...
...
@@ -255,7 +255,7 @@ tests:
-
'
check'
-
'
forceIPv4'
args
:
-
'
-
d
'
-
'
-
-debug
'
-
'
-4'
-
'
--check'
-
'
https://dns.google/dns-query'
...
...
@@ -269,7 +269,7 @@ tests:
-
'
check'
-
'
forceIPv4'
args
:
-
'
-
d
'
-
'
-
-debug
'
-
'
-4'
-
'
--check'
-
'
https://dns.google/dns-query'
...
...
@@ -283,7 +283,7 @@ tests:
-
'
check'
-
'
forceIPv6'
args
:
-
'
-
d
'
-
'
-
-debug
'
-
'
-6'
-
'
--check'
-
'
https://dns.google/dns-query'
...
...
@@ -297,7 +297,7 @@ tests:
-
'
check'
-
'
forceIPv6'
args
:
-
'
-
d
'
-
'
-
-debug
'
-
'
-6'
-
'
--check'
-
'
https://dns.google/dns-query'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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