sensson / puppet-powerdns

A Puppet module to install and configure the PowerDNS 4.x authorative server and recursor
12 stars 46 forks source link

Support configuration of multiple forward zones #135

Closed deric closed 2 years ago

deric commented 2 years ago

Forward zones configuration is a bit messy when too many domains are on a single line:

forward-zones=example.org=203.0.113.210, powerdns.com=2001:DB8::BEEF:5

this PR adds possibility to zones as a hash:

powerdns::forward_zones:
  example.org: 203.0.113.210
  powerdns.com: 2001:DB8::BEEF:5
ju5t commented 2 years ago

Cool! Thanks!