Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
url-checker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
url-checker
Commits
1e0db690
Commit
1e0db690
authored
Oct 21, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not duplicate domain check
parent
f8287237
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
urlchecker_dns.py
urlchecker_dns.py
+3
-1
No files found.
urlchecker_dns.py
View file @
1e0db690
...
@@ -112,5 +112,7 @@ def getServerIpDict(db, status_id, resolver_dict, domain_list, rdtype):
...
@@ -112,5 +112,7 @@ def getServerIpDict(db, status_id, resolver_dict, domain_list, rdtype):
for
address
in
answer_list
:
for
address
in
answer_list
:
if
address
not
in
server_ip_dict
:
if
address
not
in
server_ip_dict
:
server_ip_dict
[
address
]
=
[]
server_ip_dict
[
address
]
=
[]
server_ip_dict
[
address
].
append
(
domain_text
)
if
domain_text
not
in
server_ip_dict
[
address
]:
# Do not duplicate the domain
server_ip_dict
[
address
].
append
(
domain_text
)
return
server_ip_dict
return
server_ip_dict
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