Ask Your Question
0

separate DNS domains via dhcp in multi-tenant Juno

asked 2015-06-05 22:08:57 -0500

Goran M gravatar image

Is there a way to set a separate DNS domain via dnsmasq for each tenant, instead of using the default "openstacklocal" in the /etc/resolv.conf for all? The nameserver attribute can be overridden with neutron subnet-update, however it seems there is no way to specify the DNS search domain from the cli or Horizon.

I'm using Juno with neutron networking, with multiple tenants and subnets. Each tenant has internal DNS server with dedicated zone. I'm hoping to get dnsmasq to serve something like: http://vm1.tenant1.com for the 1st tenant, http://vm1.tenant2.com for the 2nd, etc.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-03 05:27:13 -0500

updated 2015-09-06 06:47:03 -0500

hello, you can configure this peer network on the /etc/neutron/dnsmasq-neutron.con file, just add entry peer network like:

  • domain=domain1,10.10.10.0/24

  • domain=domain2,20.20.20.0/24

And of course restart the neutron server service : service neutron-server restart

enjoy

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-06-05 22:08:57 -0500

Seen: 714 times

Last updated: Sep 06 '15