bosh icon indicating copy to clipboard operation
bosh copied to clipboard

dns_domain restrictions

Open aristotelesneto opened this issue 12 years ago • 5 comments

Hi Guys,

I've been looking at how it would be possible to do a couple of things:

  1. Remove reliance on BOSH DNS server for bosh DNS zone availability, so DNS names can be used in deployment manifests, thereby avoiding static ips, but still allowing machines to be referenced by its name;
  2. Ensure VMs have Recursive DNS redundancy;

While looking at 1, I've noticed that dots specified in the dns.dns_domain bosh deployment manifest are removed when the zone is configured, as part of a canonicalization of the domain. This prevents me from making BOSH configure an actual domain (as opposed to 'bosh' or 'microbosh'). For example if you specify dns_domain as bosh.pivotal.io, bosh will configure the machines as <index, job, etc>.boshpivotalio.

Would someone be able to elaborate as to why thats the case? I'd like to have the bosh powerdns server become a hidden master so that zone transfers can be performed.

aristotelesneto avatar Apr 09 '14 20:04 aristotelesneto

@goehmen, can your team comment on this issue?

CF Community Pair (@khwang1 & @chou)

chou avatar Apr 09 '14 22:04 chou

bosh team will respond

goehmen avatar Apr 09 '14 23:04 goehmen

Nothing comes to mind. Did you try modifying bosh and see if powerdns accepts it?

  • @cppforlife

cppforlife avatar Apr 10 '14 17:04 cppforlife

I've modified PowerDNS conf directly, injecting a zone+records into the db, and set it up to do zone transfers and it all works, but figure I ask if there was a compelling reason for bosh to be performing that before poking around the source code as my Ruby isn't that great.

aristotelesneto avatar Apr 10 '14 20:04 aristotelesneto

Closing due to inactivity. We are moving away from PowerDNS and have since implemented https://github.com/cloudfoundry/bosh-dns-release which should address many of these concerns.

jfmyers9 avatar Aug 07 '18 18:08 jfmyers9