inkblot/puppet-bind

rndc reload for root hint zone

Closed this issue · 2 comments

fonk commented

Hi,

I have a bind::zone declaration for a RedHat System like this:

bind::zone { 'default_root':
    domain      => '.',
    zone_type => 'hint',
    source       => 'file:///var/named/named.ca',
}

But the "rndc reload" fails:

Notice: /Stage[main]/Role::Dns/Bind::Zone[default_root]/Exec[rndc reload .]/returns: rndc: 'reload' failed: not found
Error: /Stage[main]/Role::Dns/Bind::Zone[default_root]/Exec[rndc reload .]: Failed to call refresh: /usr/sbin/rndc reload . returned 1 instead of one of [0]
Error: /Stage[main]/Role::Dns/Bind::Zone[default_root]/Exec[rndc reload .]: /usr/sbin/rndc reload . returned 1 instead of one of [0]

What's the correct way to include the root hints with Version 5.1.2 of this module?

Best regards,
Frank

I will release version 6.0.0 soon which addresses default zones directly.

I believe this has been fixed.