On 16-05-30 08:47:20, Indunil Jayasooriya wrote: > Hi, > > First of all, This is NOT an OpenBSD question. > > But OpenBSD always is based on correctness. So I need a correct answer for > this that's why I came to your mailing list. > > I think THIS is the right place to ask this since you guys are Network > gurus. > > Pls DO NOT discard this mail because this is very USEFUL. > > > Let's go in to below examples and pls answer my questions. > > > example.com. IN TXT "v=spf1 a:host1.example.com -all" > > the above says only server that is allowed to send mail using the > example.com domain. that is host1.example.com
As long as host1.example.com has an a record. > > > How can I add Multiple hosts to send using the example.com domain. ( let's > say host1.example.com , host2.example.com and host3.example.com ) > > > is the below record OK? > > example.com. IN TXT "v=spf1 a:host1.example.com a:host2.example.com a: > host3.example.com -all" > > As long as the a records exist. > or what about this? > > if host1.example.com =1.2.3.4 , host2.example.com = 1.2.3.5 and > host3.example.com = 1.2.3.6 > > example.com. IN TXT "v=spf1 ipv4:1.2.3.4 ipv4:1.2.3.5 ipvr:1.2.3.6 > -all" > > is the ABOVE line is OK ? > yes as long as the ip address's are correct. > > > and also > > can you explain these as well. > > > example.com. IN TXT "v=spf1 mx -all" > > the above says that Allow domain's MXes to send mail using the example.com > domain, prohibit all others. > > All mx entries for example.com are allowed. > what does the below record mean? > > example.com. IN TXT "v=spf1 mx a -all" > > > Does it say Allow domain's MXes and domain's A records to send mails using > example.com domain, prohibit all others. > yes I would recommend RFC 7208 these are all easily answered in Appendix A. > > Waiting your INPUTS. > > > -- > cat /etc/motd > > Thank you > Indunil Jayasooriya > http://www.theravadanet.net/ > http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala > Fonts