This question already has an answer here:
I am a bit confused about the creation of SPF records.
I have my hosting domain: hosting.mydomain.com, this is the hostname of the actual server running postfix etc.
I have configured my DNS like this:
mydomain.com @ A 220.127.116.11 (mail server IP) @ MX 10 mail.mydomain.com @ TXT v=spf1 mx a a:hosting.mydomain.com ~all hosting A @ mail A 18.104.22.168 (mail server IP)
Now do I need to include the
a:hosting.mydomain.com in my SPF record?
And when I have another domain on the same server configured like this:
otherdomain.com @ A 22.214.171.124 (web server) @ MX 10 mail.otherdomain.com @ TXT v=spf1 mx a ~all mail A 126.96.36.199 (mail server IP)
Does this SPF record need to include
I am running Webmin/Virtualmin but hosting the DNS external. When I send email through the webmail the sender is always
Are these SPF records correct?