Open shoulders opened 1 day ago
Hello,
make cpanel migrate respect the server template
Shouldn’t we try to preserve what was originally in the backup?
The whole DNS zone is recreated from scratch, the build process takes into account of sub-domains https://github.com/virtualmin/virtualmin-gpl/issues/933 and aliases.
One of my domains that I had used office365 and this had extra DNS exntries such as autodiscover and the MX entry. These are all wiped out.
Personally I think the imported DNS should be as close to the imported account as that is what the user expects. I appreciate this might never be perfect (i.e. dkim, dmarc, webdav, the calendar thing).
Shouldn’t we try to preserve what was originally in the backup?
I think you are right. It would make more sense.
Shouldn’t we try to preserve what was originally in the backup? I think you are right. It would make more sense.
Currently when migrating a cPanel backup, if it contains DNS records we will copy them over verbatim instead of following the defaults for the Virtualmin system.
Currently when migrating a cPanel backup, if it contains DNS records we will copy them over verbatim instead of following the defaults for the Virtualmin system.
I am not sure about this:
example.co.uk. IN TXT "v=spf1 a mx a:example.co.uk ?all"
cpanel.example.com
but I would expect this to be correct behaviour.the DNS zone I ended up with after the import was a badly rebuilt DNS zone that did not fully follow my server template.
Ok that seems buggy. Any chance we could get a copy of the cPanel backup you tried to migrate to test on?
should not be an issue but I will just need to ask the client.
I have checked with the client and they are happy for me to send you the backup.
how can I get it to you?
how can I get it to you?
See the end of bin/webmin
file.
Will send a we transfer link if too big to email. Thanks
Ok, you can email me the file or better still the link at jcameron@virtualmin.com (and please reference this ticket in the email)
the issue
When I import a cpanel account the SPF record is not built according to the server template instead it does this:
example.co.uk. IN TXT "v=spf1 a mx a:example.co.uk ?all"
As you can see it has ?all which was changed a while back ago for the demo DNS options when you server is not running DNS for that domain. I do not know if this fix is related and implemented in my version of Virtualmin.
I used a custom template and not the default settings template so is this an inheritance issue?
solution
make cpanel migrate respect the server template
additional
SPF records not using correct SPF action https://github.com/virtualmin/virtualmin-gpl/issues/876