Menu

#4494 Virtualmin - SPF record for domain contain same IPv6 address two times

1.710
closed-fixed
nobody
5
2014-10-23
2014-10-23
No

If option to generate SPF records is set in server template (section BIND DNS domain, option Add SPF DNS record? = "Yes, with server's IP address"), generated SPF record contains (default) IPv6 address repeated two times.

I think the problem is in "feature-dns.pl", "sub set_record_ids", lines:

if ($d->{'ip6'} && $d->{'ip6'} ne $defip) {
push(@{$spf->{'ip6:'}}, $d->{'ip6'});
}

"$defip" should have been "$defip6" like this:

if ($d->{'ip6'} && $d->{'ip6'} ne $defip6) {
push(@{$spf->{'ip6:'}}, $d->{'ip6'});
}

Thanks in advance!

Bojan Vitnik

Discussion

  • Jamie Cameron

    Jamie Cameron - 2014-10-23
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2014-10-23

    You're right - I'll fix this in the next release.

     

Log in to post a comment.

Auth0 Logo