From cpanel to virtualmin

I’ve repaired the broken issue link. Thank you for the notice.

@llia when you say “connect to you® main domain.” Do you mean using OVH DNS config files ? I would like to do that and ignore virtualmin DNS server, but how do I do that ?

In the meantime in Virtualmin > Server Configuration > DNS Records
I found my virtualmin DNS records as follow:

$ttl 38400
@	IN	SOA	myVPS.ovh.net. root.myVPS.ovh.net. (
			1582959878
			10800
			3600
			604800
			38400 )
@	IN	NS	myVPS.ovh.net.
@	IN	NS	dns13.ovh.net.
@	IN	NS	ns13.ovh.net.
mydomain.foo.	IN	A	myIPv4
www.mydomain.foo.	IN	A	myIPv4
ftp.mydomain.foo.	IN	A	myIPv4
m.mydomain.foo.	IN	A	myIPv4
localhost.mydomain.foo.	IN	A	127.0.0.1
webmail.mydomain.foo.	IN	A	myIPv4
admin.mydomain.foo.	IN	A	myIPv4
mail.mydomain.foo.	IN	A	myIPv4
mydomain.foo.	IN	MX	5 mail.mydomain.foo.
mydomain.foo.	IN	TXT	"v=spf1 a mx a:mydomain.foo mx:mydomain.foo ip4:myIPv4 ip4:myIPv4 ip6:myIPv6 ?all"

But if ping mydomain.foo is OK,
I get no answers to my pings to mail or www subdomains.
As for the admin subdomain I get an Unknown service error response probably because admin.mydomain.foo is not in my ovh DNS config file.

Finally, I’m not creating an entry for smtp.mydomain.foo as I now suspect virtualmin to have chosen mail.mydomain.foo instead. But first, pings should be working. Any idea how I can make they work ?