-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try to fix zone delegation, by allowing to specifiy record type == NS in rrsets array #162
base: main
Are you sure you want to change the base?
Conversation
by allowing to specifiy record type == NS in rrsets array
Thanks for the PR! To be honest, I do not remember why I included the restriction on NS RRs in the initial RRset; I suspect it's because I assumed that RRset would only contain apex records, and nothing else. Since this module does not include the ability to manage RRs after the initial zone creation, it hadn't crossed my mind to allow NS RRs. This approach is probably fine, but you'll need to correct the spelling of 'delegation' :-) I'll mark the workflows as approved so you can get CI feedback, and then I'll review the PR later this week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look fine, just some spelling fixes :-)
@@ -34,6 +34,8 @@ for emergencies). | |||
|
|||
- Removed support for Python 3.8. | |||
|
|||
- Fix ability to make zone deligation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Fix ability to make zone deligation | |
- Fix ability to make zone delegations |
@@ -46,7 +46,7 @@ | |||
vars: | |||
d1_rrset: "{{ lookup('dig_local', 't1.d1.rrset.example.', qtype='A', flat=0, fail_on_error=false, real_empty=false) }}" | |||
|
|||
- name: check for failure when rrset includes NS | |||
- name: check zone creation with zone deligation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: check zone creation with zone deligation | |
- name: check zone creation with zone delegation |
Hi, I'm quite a new contributer to ansible collections,
Thank you for creating this collection, very useful!
this seems to work to do subzone deligation for regular dns zones and reverse DNS deligation in my enviroment
I could probably open an issue first, but could you look if this is a workable solution
Regards from Torstein