BIND responds with SERVFAIL when adding/changing records if 'allow-update' is configured for a zone
When a proper functioning bind server is running fine for a zone with 'allow-update' enabled for local-nets it is possible to change the records of this zone. But when the changes are saved the bind daemon responds to queries with a 'SERVFAIL' message.
The reason for this is the existence of journal files. After manually removing these files the service can be restarted successfully.
According to the bind admin manual, chapter 4.3, (https://www.isc.org/bind-9-11-arm/) it is necessary to freeze (rndc freeze) the zone before updating it. After the update it should be thawed (rndc thaw) to reenable DDNS.
Is it possible to add this to the code?
Updated by Ross Williams over 3 years ago
Submitted a PR that fixes this: https://github.com/pfsense/FreeBSD-ports/pull/689
Updated by Renato Botelho over 3 years ago
- Status changed from New to Feedback
- Assignee set to Renato Botelho
- Target version set to 2.5.0
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Jim Pingle over 3 years ago
- Target version deleted (
Updated by Max Leighton over 1 year ago
- Status changed from Feedback to Resolved
I tested this with BIND 9.16_11. I can add or change records without issues while allow-updates is set to localnets. Marking the ticket resolved.