My website was previously on a windows server A with ip 79.137.24.24879.137.24.248
but my mail server was on a linuxLinux hosting with ip of 185.81.99.111185.81.99.111
. There waswere three DNS record that waswere connecting these two servers:
RecordName:
example.com. RecordType:
MX data:
mail.example.com.
RecordName:
mail RecordType:
A data:
185.81.99.111
RecordName:
example.com. RecordType:
TXT data:
v=spf1 mx a ip4:79.137.24.248/32 ~all
- Name:
example.com.
Type:MX
Data:mail.example.com.
- Name:
mail
Type:A
Data:185.81.99.111
- Name:
example.com.
Type:TXT
Data:v=spf1 mx a ip4:79.137.24.248/32 ~all
Now I have moved my website on a new windows server B with ip 185.10.75.6185.10.75.6
but I want to keep the mail server still reamining on that linuxLinux server. On the new server I have set MXMX
and A recordA
records exactly as same as previous ones but for TXTTXT
record I am confuesd whatconfused. What should I do? Which server is responsible to translate the TXT record? Should I add the TXT record on new server B or add a new TXT record on old server A to allow the new ipIP using that mail server?
Footnote: Mail.example.commail.example.com
is now loading fine but when I try sending/receiving emails it seems that the new IP is now allowed to communicate with the linuxLinux mail server.