Attempting to edit a slave reverse zone record results in the following error:
*HTTP/1.0 500 Perl execution failed Server: MiniServ/1.810 Date: Thu, 11 Aug 2016 18:44:03 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
Can't use an undefined value as a symbol reference at records-lib.pl line 111.*
Known issue, we will release a patch for this shortly.
I tested the fixed module, that is available, and I still have exactly the same error.
This patch should fix the problem : https://github.com/webmin/webmin/commit/b7bbeb457b1153232f908170a141e2970a4a1a59
Confirmed. Patch from github doesn't fix the problem.
2nd Confirmation. Patch from github doesn't fix the problem.
Can anyone who is seeing this check if a zone file exists for the slave zone, and if so what does it contain?
Running Bind 9.9.4 all my slave zones exists and are in binary (raw) format as pr. default from Bind 9.9. Tested one zone using "masterfile-format text;" statement in the zone declaration in named.conf. That fixed it for that specific zone. Seems you may have to check zone file format and then run named-compilezone if the zone is in raw format.
Hello,
Along with the information from Per Weisteen for zones in raw format. I have tested several dns slave zones with success. By editing /etc/bind/named.conf.local (UbuntuLTS 14.04) and adding "masterfile-format text;" to each dns slave zone of the named.conf.local file, save, and restart bind I was then able to chose the dns slave zone and its properties without the error message.
*** NOTE *** backup your 'named.conf.local' file before making any adjustments and modifications. Just a good rule of thumb.
I've included a snapshot.
Cheers!
Ohh... Bind v9.9.5 on Ubuntu 14.04LTS
Last edit: Tanoazoo 2016-08-17
Ok, so that's the trigger - when the zone file isn't in text format. I will fix this in the next release (and probably release an updated BIND module)
I am running Centos 7. If the config file in a different location? I am also having the same issue.
... worked well. :-)
... that is - on 5 out of 6 zones
Last edit: C G Norlén 2016-08-23
Ok, I've just released an updated BIND module that includes a fix for this. You can either get it from http://www.webmin.com/updates.html , or wait for Webmin to prompt you to install it on the System Information page.
Thanks Jamie! The update works beautifully.
Thanks Jamie, the recent fix worked. Though maybe I should of mentioned this some some time ago ever since 1.801. From the slave dns server the user can choose a DNS slave and display the slave type properties. But when you check on the 'View Records File' an error message 'This zone is in raw binary format, and so cannot be displayed as text'. Verify the screen shots. To resolve this issue and be able to verify the slave zone 'View Records File'... I had to make sure the 'masterfile-format text;' was added to the slave zone of the named.conf.local. With this change I was able to view in 'View Records File'.
That's expected - the "View Records File" option shows the raw unformatted slave file, which wouldn't make sense for binary format.
Thanks Jamie, I will modify the named.conf.local file and manually add 'masterfile-format text;' per slave dns.
Cheers,