Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
edns-zone-scanner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knot projects
edns-zone-scanner
Commits
328e8d65
Verified
Commit
328e8d65
authored
May 03, 2019
by
Petr Špaček
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allinone: stop nsname2ipset and domain2ipset if less < 0.01 % is left
parent
c707a8df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
allinone.py
allinone.py
+2
-2
No files found.
allinone.py
View file @
328e8d65
...
...
@@ -43,7 +43,7 @@ def main():
if
remaining
==
0
:
logging
.
info
(
'all NS names resolved to an IP address'
)
break
elif
new
==
0
:
elif
new
<
total
/
100
/
100
:
# ignore last < 0.01 %
logging
.
info
(
'unable to resolve last
%
d NS names to an IP address, '
'leaving
%0.2
f
%%
NS names unresolved'
,
remaining
,
...
...
@@ -71,7 +71,7 @@ def main():
if
remaining
==
0
:
logging
.
info
(
'all domains have at least one NS IP address which responds'
)
break
elif
new
==
0
:
elif
new
<
total
/
100
/
100
:
# ignore last < 0.01 %
logging
.
info
(
'unable to find NS IP addresses for last
%
d domains, '
'leaving
%0.2
f
%%
domains without working NS IP address'
,
remaining
,
...
...
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