Undefined subroutine &virtual_server::can_domain_dnsssec

Operating system Ubuntu Linux 20.04.2
Webmin version 1.973
Usermin version 1.823
Virtualmin version 6.15 Pro
Authentic theme version 19.73
Time on system Wednesday, March 17, 2021 11:42 AM
Kernel and CPU Linux 5.4.0-67-generic on x86_64
Processor information Common KVM Processor v2, 2 cores
System uptime 19 hours, 51 minutes
Running processes 141 CPU load averages 0.03 (1 min) 0.08 (5 mins) 0.08 (15 mins)
Real memory 1009.01 MiB used / 1.82 GiB cached / 3.84 GiB total
Local disk space 9.3 GiB used / 44.7 GiB free / 54.01 GiB total
Package updates All installed packages are up to date

I am getting the following error when I try to open the DNS Options menu…

HTTP/1.0 500 Perl execution failed Server: MiniServ/1.973 Date: Wed, 17 Mar 2021 03:03:26 GMT Content-type: text/html; Charset=utf-8 Connection: close
## ERROR — PERL EXECUTION FAILED
Undefined subroutine &virtual_server::can_domain_dnsssec called at /usr/share/webmin/virtual-server/edit_spf.cgi line 60.

Line 60 is the if statement…

# DNSSEC enabled
&require_bind();
if (defined(&bind8::supports_dnssec) && &bind8::supports_dnssec() &&
&can_domain_dnsssec($d)) {
$key = &bind8::get_dnssec_key(&get_bind_zone($d->{‘dom’}));
print &ui_table_row(&hlink($text{‘spf_dnssec’}, ‘spf_dnssec’),
&ui_yesno_radio(“dnssec”, $key ? 1 : 0));
}

How to fix please?

Several topics about this, if you search the forum.

Will be fixed in the next version, and there is a patch available.

Thanks, I saw several similar posts but didn’t know if they were the same issue or not.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.