dns_domain restrictions
Hi Guys,
I've been looking at how it would be possible to do a couple of things:
- 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;
- 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.
@goehmen, can your team comment on this issue?
CF Community Pair (@khwang1 & @chou)
bosh team will respond
Nothing comes to mind. Did you try modifying bosh and see if powerdns accepts it?
- @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.
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.