1

According to this document on "The Networking service internal DNS resolution", a feature I need requires the dns extension driver in OpenStack,

[ml2]
extension_drivers = port_security,dns

How can I find what extension drivers my OpenStack's ml2 has?

1 Answer 1

1

I was able to test this in my lab.

  • Deployed with kolla ansible.
  • Currently running Ussuri

If I add the dns driver to the ml2 config, I am now able to resolve network ports DNS through the dnsmasq inside my private network.

(venv) laurentdumont@openstack-deployer:/etc/kolla$ openstack port show 046068ee-4b1a-47b5-bfdb-91af916de1ee -c dns_assignment
+----------------+------------------------------------------------------------------------------------------+
| Field          | Value                                                                                    |
+----------------+------------------------------------------------------------------------------------------+
| dns_assignment | fqdn='test-dns.os.coldnorthadmin.com.', hostname='test-dns', ip_address='10.100.100.112' |
+----------------+------------------------------------------------------------------------------------------+

In this case, the VM has one port and the port takes the name of the VM.

# nslookup -type=A test-dns.os.coldnorthadmin.com 10.100.100.2
Server:     10.100.100.2
Address:    10.100.100.2:53

Name:   test-dns.os.coldnorthadmin.com
Address: 10.100.100.112

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.