Allow customer-specified per-subnet and per-host DNS entries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Expired
|
Wishlist
|
Unassigned |
Bug Description
We're running an operational OpenStack Folsom + Quantum cluster configured to host multiple tenants, each having their own subnet. It seems like you can only have one domain for all tenants, which seems like an artificial limitation since each dnsmasq process can take a different --domain argument. It also seems like only a translation of the VMs IP address is placed into the dnsmasq file. There is also no way to specify a DNS entry for the VM.
Allow dhcp_domain to be set on a per-subnet basis via quantum. It could be done as an optional parameter for each subnet tracked by quantum, much like 'start' and 'end' for the allocation_pools. Doing so would ensure that any DHCP address received by VMs started in that subnet would set their search domain to the per-subnet dhcp_domain. The hostname would thus be - VM_NAME + '.' + DHCP_DOMAIN
In addition to the feature above, the customer could specify an alternative hostname entry to place into the dnsmasq configuration.
For example, assume the dhcp_domain selected for the tenant was 'example.com'. They launch a named 'web-1' with an IP of 10.0.0.5. They specify that they also want this VM to be called 'web.blue.com', the following entries would be placed into the dnsmasq host file:
fa:16:3e:
fa:16:3e:
fa:16:3e:
Changed in quantum: | |
importance: | Undecided → Wishlist |
tags: |
added: l3-ipam-dhcp removed: dhcp subnet |
Changed in neutron: | |
status: | New → Triaged |
Dns is very weak in current quantum now.