Openstack handling of DNS when using flat/private and floating/public IPs

asked 2013-02-25 13:01:38 -0600

gregory-andrus gravatar image

I need some clarification regarding DNS in Openstack when using both private and public addresses. If tenants use private addresses to communicate within the tenant but use public addresses with SNAT/DNAT to talk to other tenants, how is DNS typically set up to provide the correct forward and reverse lookups for both intra-tenant and inter-tenant communication. We are looking at bringing Openstack into an existing environment, where the current DNS is outside the Openstack cloud.

Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-02-26 13:09:29 -0600

garyk gravatar image

A quantum subnet enables one to define to define the DNS servers for the specific subnet ( https://wiki.openstack.org/wiki/QuantumV2APIIntro#Subnet (https://wiki.openstack.org/wiki/Quant...) ). If the DNS server is on the private network then the request will be done via the private IP of the VM. If the DNS server is not on the subnet then the request will be done via the default gateway. In Quantum this can be the layer 3 agent which will do the NAT. That is, the source IP will be changed to the floating IP address. So in your case the DNS requests willbe SNAT'ed (by the L3 agent). Pleas enote that there are some plugins that do not support the l3 agent and they do the management of the floating IP's (for example the NVP). Thanks Gary

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-02-25 13:01:38 -0600

Seen: 156 times

Last updated: Feb 26 '13