SPF (txt record) for every virtual domain

Discussion in 'Server Operation' started by erosbk, Jun 1, 2011.

  1. erosbk

    erosbk New Member

    As I could learn, I need a SPF record for each virtual domain in my host. It is not a problem, because I will have to add a default SPF record in DNS template... but... if I have in a future to change it, I will have to change it for EVERY domain... is there a way to use a "repository" that each virtual domain must read in DNS for a general SPF record?

  2. dipeshmehta

    dipeshmehta Member

    You may create a general SPF records and associate with your master domain. Further, you may use 'exists' and 'redirect' mechanism for all other domains. In such case, when you need to make change in SPF records, you would just need to change record at your master domain. Please check syntax at http://www.openspf.org/SPF_Record_Syntax

    Hope this helps.

  3. erosbk

    erosbk New Member

    So, I have to create a spf record for mymaindomain.com.ar, and, for every virtual domain I have to create a spf record of this type I think:

    v=spf1 redirect=mymaindomain.com.ar

    Is this correct?
    Last edited: Jun 3, 2011
  4. dipeshmehta

    dipeshmehta Member

    Yes, you can use it like this. As long as mymaindomain.com.ar resolves and it has valid spf record, it would be reflected for all your virtual domains.


Share This Page