I'm adding records to support Cloud Foundry itself.
eg. - adding a domain for "pivotal.local"
- and a wildcard address "*.pivotal.local", pointing to the IP address
of the CF router - to allow the CF vhosting to work.
insert into domains(name,type) values('pivotal.local','NATIVE');
insert into records(name,type,content,ttl,domain_id)
values('pivotal.local','SOA','localhost hostmaster@localhost 0 10800
604800 30',14400,4)
insert into records(name,type,content,ttl,domain_id,change_date)
values('*.pivotal.local','A','1.2.3.4',300,4,1380122312);
CF is generally targeted at AWS, and so it has Route53 automatically set
these records - but there is no equivalent functionality on vSphere, as
far as I know.
We're building ultra-compact BOSH deployed CI systems for developing CF
Services - and it seems wasteful to deploy/manage another DNS server for
3 records! The micro-BOSH powerDNS has the raw capabilities to do what
we want, but it's not an elegant solution yet.
Is there a reason you'd advise against using the micro-BOSH to host
these records? There is no namespace overlap, so the dns_helper code has
no reason to touch those records. We've used this kind of setup in the
past, and had no ill effects, the only difference here is we're looking
at ways to automate it.
James M