NS records for sub-domains are removed during Zone import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
Fix Released
|
Undecided
|
Dmitry Galkin |
Bug Description
Hi all,
As of now, Designate removes all NS and SOA records when Zone is being imported.
For sub-domains this however means that we have to recreate the records manually after import.
For example - we do import:
curl -vv -g -i -X POST http://
$TTL 600
openstacknew2.tech. IN NS ns5-1.example.tech.
subdomain.
openstacknew2.tech. IN SOA ns5-1.example.tech. test.gmail.com. 1511534761 3542 600 86400 3600
test.openstackn
test2.openstack
'
and than we can see that subdomain.
[root@aio1-
+------
| id | name | type | records | status | action |
+------
| 521ab7c4-
| 5a39b0d7-
| bf8e1998-
| d94e6cd1-
+------
I have a small patch so that "subdomain.*" NS records will be kept. Ping me if you'd like it to be committed.
Fix proposed to branch: master /review. openstack. org/546702
Review: https:/