Skip to content

Commit

Permalink
Fix display of autoconfig DNS records on suggested page
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Nov 3, 2022
1 parent e3a477a commit 5dc1d8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion view_records.cgi
Expand Up @@ -19,7 +19,9 @@ $recs = [ ];
&create_standard_records($recs, $temp, $d, $d->{'dns_ip'} || $d->{'ip'});
if ($config{'mail_autoconfig'} && &domain_has_website($d)) {
# Add autoconfig records
&enable_dns_autoconfig($d, &get_autoconfig_hostname($d), $temp, $recs);
foreach my $autoconfig (&get_autoconfig_hostname($d)) {
&enable_dns_autoconfig($d, $autoconfig, $temp, $recs);
}
}
if ($d->{'mail'} && !&check_dkim() && ($dkim = &get_dkim_config()) &&
$dkim->{'enabled'}) {
Expand Down

0 comments on commit 5dc1d8a

Please sign in to comment.