← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1960850] [NEW] [RFE][OVN] Support DNS subdomains at a network level

 

Public bug reported:

Right now we can only set domain names at a global level, using the
dns_domain parameter neutron.conf file.

However, there are use cases where it is useful to provide more granularity to DNS, like at a network or port level where the dns_domain attribute exists. 
This is feasible with the OVN driver because OVN sets the DNS naming at a port level:

[root@controller-0 /]# ovn-nbctl list DNS
_uuid               : 9f8ce4cf-29b2-4118-84e8-f269b86f423c
external_ids        : {ls_name=neutron-b857b04d-005e-44d7-8766-c440ec665715}
records             : {server1="192.168.100.12", server1.example.org="192.168.100.12", server2="192.168.100.120", server2.example.org="192.168.100.120"} 

Thus, we could create an option to allow DNS using network naming as subdomains. 
e.g.:

Global dns_domain: example.org
Networks: net-a, net-b 
Server in Network A: server1
Server in Network B: server1
FQDN for server1: server1.net-a.example.org
FQDN for server1: server1.net-b.example.org


This would allow servers from different networks with the same name to have unique FQDNs, as opposed to the current approach were we would get the same FQDN in both cases: server1.example.org

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1960850

Title:
  [RFE][OVN] Support DNS subdomains at a network level

Status in neutron:
  New

Bug description:
  Right now we can only set domain names at a global level, using the
  dns_domain parameter neutron.conf file.

  However, there are use cases where it is useful to provide more granularity to DNS, like at a network or port level where the dns_domain attribute exists. 
  This is feasible with the OVN driver because OVN sets the DNS naming at a port level:

  [root@controller-0 /]# ovn-nbctl list DNS
  _uuid               : 9f8ce4cf-29b2-4118-84e8-f269b86f423c
  external_ids        : {ls_name=neutron-b857b04d-005e-44d7-8766-c440ec665715}
  records             : {server1="192.168.100.12", server1.example.org="192.168.100.12", server2="192.168.100.120", server2.example.org="192.168.100.120"} 

  Thus, we could create an option to allow DNS using network naming as subdomains. 
  e.g.:

  Global dns_domain: example.org
  Networks: net-a, net-b 
  Server in Network A: server1
  Server in Network B: server1
  FQDN for server1: server1.net-a.example.org
  FQDN for server1: server1.net-b.example.org

  
  This would allow servers from different networks with the same name to have unique FQDNs, as opposed to the current approach were we would get the same FQDN in both cases: server1.example.org

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1960850/+subscriptions