inkblot / puppet-bind

18 stars 82 forks source link

Never creates an SOA? #136

Open witchbutter opened 6 years ago

witchbutter commented 6 years ago

I believe the readme for this module is missing a lot of information. When I create a class using stanzas from the readme, I install bind server, tsig keys are created for dynamic dns and zones are created in /var/cache/bind. However none of the zone files include an SOA so even when bind appears configured and even though I can create A records using the resource_record type bind isn't really functioning in my development environment.

Is the intention of this module to have a starter zonefile that includes the SOA to which resource records are added?

The bind::zone type is limited to 'master', 'slave', 'forward', and 'stub'. How do you create a reverse zone if there is no reverse zone type when you have several subnets that are included in a single domain?

jcharaoui commented 5 years ago

I'm also quite confused about how to bootstrap and new DNS server using this module. Is it even possible?

jcharaoui commented 5 years ago

OK in my case I was missing the bind::view bits. You need at least one view for this module to work, otherwise the zone will never get loaded!