It depends. The MX record should point to the hostname of your mail server. If your mail server is hosted at the same domain (e.g., mail.yourdomain.com), and that hostname has an A record pointing to your server’s IP, that’s correct. The MX record should never point to an IP address directly — it must point to a hostname.
All questions