Answers: <p>I was able to test this in my lab.</p>
  <ul>
  <li>Deployed with kolla ansible.</li>
  <li>Currently running Ussuri</li>
  </ul>
  <p>If I add the <code>dns</code> driver to the ml2 config, I am now able to resolve network ports DNS through the <code>dnsmasq</code> inside my private network.</p>
  <pre><code>(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' |
  +----------------+------------------------------------------------------------------------------------------+
  </code></pre>
  <p>In this case, the VM has one port and the port takes the name of the VM.</p>
  <pre><code># 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
  </code></pre>
  
Answers: CC BY-SA 4.0
Answers: 2022-02-27T08:39:38.840Z
Answers: 2022-02-27T08:39:38.840Z
Answers: LaurentDumont
Body: <p>According to <a href="https://docs.openstack.org/mitaka/networking-guide/config-dns-int.html" rel="nofollow noreferrer">this document on <em>&quot;The Networking service internal DNS resolution&quot;</em></a>, a feature I need requires the <code>dns</code> extension driver in OpenStack,</p>
  <pre><code>[ml2]
  extension_drivers = port_security,dns
  </code></pre>
  <p>How can I find what extension drivers my OpenStack's ml2 has?</p>
  
Tags: <networking><dns><openstack>
Title: How can I find out what ml2 extension drivers are enabled?
UserDisplayName: Evan Carroll
ThreadText: # How can I find out what ml2 extension drivers are enabled?
  
  (Asked by: username_0 on 2022-02-23)
  
  According to [this document on *"The Networking service internal DNS resolution"*](https://docs.openstack.org/mitaka/networking-guide/config-dns-int.html), 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?
  
  **Tags:** networking, dns, openstack
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-02-27. Score: 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) username_1@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
  
  ```
  
  
  ---
  
  