strange behavior of dns_domain with designate multi domain
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Expired
|
Undecided
|
Unassigned |
Bug Description
I am running ussuri on centOS8 and trying to integrate neutron with designate but i am seeing strange behavior so want to verify if its bug or not.
I have two network net-foo and net-bar and i have mapped following designate domain name with each network
$ openstack network set net-foo --dns-domain foo.com.
$ openstack network set net-bar --dns-domain bar.com.
my /etc/neutron/
dns_domain = example.com.
I spun up VM with net-foo and net-bar nothing happened, i didn't see any A record in DNS.
now changed /etc/neutron/
I spun up VM with both net-foo and net-bar and noticed foo.com. got A record but not bar.com. (look like it has to match with dns_domain in neutron.conf)
Now i changed /etc/neutron/
Now both net-foo and net-bar working fine, and i can see both created A records in DNS.
Question is do i need to use dns_domain = . (dot) to meet each domain in worlds like foo.com foo.net foo.org foo.io etc.?
is this normal behavior because i haven't seen any document talking about this.
I'm no designate expert, but last time I played with it, I realized that reading neutron-server logs can help me understand where neutron-server couldn't progress when I was expecting a new A recordm but didn't get it. One particular case I remember (not the exact conditions though, sorry) is that you may need to create the zones you want the A records in, like: openstack zone create ...
Another thing that helped me was to realize that I better go through both of these documents (in this order) because the 2nd builds on the first:
https:/ /docs.openstack .org/neutron/ latest/ admin/config- dns-int. html /docs.openstack .org/neutron/ latest/ admin/config- dns-int- ext-serv. html
https:/