Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bind-dnssec
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Valentin Samir
bind-dnssec
Commits
9de6882c
Commit
9de6882c
authored
May 06, 2018
by
Valentin Samir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix _get_ds_from_parents: parent domain name should ends with a '.'
This avoid confusion with local domain
parent
90d95c2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
dnssec_keys_management.py
dnssec_keys_management.py
+1
-3
No files found.
dnssec_keys_management.py
View file @
9de6882c
...
...
@@ -331,9 +331,7 @@ class Zone(object):
)
def
_get_ds_from_parents
(
self
):
parent
=
'.'
.
join
(
self
.
name
.
split
(
'.'
)[
1
:])
if
not
parent
:
parent
=
'.'
parent
=
'.'
.
join
(
self
.
name
.
split
(
'.'
)[
1
:])
+
'.'
nameservers
=
{
ns
.
to_text
():
[
ip
.
to_text
()
for
ip
in
dns
.
resolver
.
query
(
ns
.
to_text
())]
for
ns
in
dns
.
resolver
.
query
(
parent
,
'NS'
)
...
...
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