cloudfoundry / bosh-dns-release

BOSH DNS release
Apache License 2.0
18 stars 36 forks source link

Feature Request: bosh-dns need do reverse-lookup for alias #72

Closed YanzhaoLi closed 3 years ago

YanzhaoLi commented 3 years ago

We defined an alias in alias.json.erb such as {aliasName: vmName}. After deployment, we can do dns reverse-lookup for vmIP -> vmName.
But we'd like to do dns reverse-lookup for vmIP-> {vmName, aliasName}, which means nslookup vmIP can return both vmName and its aliasName

We need this feature because tkgi's certificates for etcd use aliasName as SANs, and etcd will do DNS reverse-lookup for ip to match the SANs(https://github.com/etcd-io/etcd/pull/8281) .

And it's impossible for the tkgi certificates to use vmName as SANs, since the vmName is generated at runtime during deploying vm while the certificates is generated before deploying vm.

Here's a slack discussion: https://vmware.slack.com/archives/C3M0B3TV3/p1603180877229800

cf-gitbot commented 3 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/175435620

The labels on this github issue will be updated when the story is started.