Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st June 2011, 22:12
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default SPF (txt record) for every virtual domain

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?

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 3rd June 2011, 07:48
dipeshmehta dipeshmehta is offline
Senior Member
 
Join Date: Nov 2008
Location: Rajkot, India
Posts: 173
Thanks: 5
Thanked 13 Times in 13 Posts
Send a message via Yahoo to dipeshmehta Send a message via Skype™ to dipeshmehta
Default

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.

Dipesh
Reply With Quote
The Following User Says Thank You to dipeshmehta For This Useful Post:
erosbk (3rd June 2011)
  #3  
Old 3rd June 2011, 13:57
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

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 by erosbk; 3rd June 2011 at 14:09.
Reply With Quote
  #4  
Old 4th June 2011, 09:27
dipeshmehta dipeshmehta is offline
Senior Member
 
Join Date: Nov 2008
Location: Rajkot, India
Posts: 173
Thanks: 5
Thanked 13 Times in 13 Posts
Send a message via Yahoo to dipeshmehta Send a message via Skype™ to dipeshmehta
 
Default

Quote:
Originally Posted by erosbk View Post
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?
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.

Dipesh
Reply With Quote
The Following User Says Thank You to dipeshmehta For This Useful Post:
erosbk (7th June 2011)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to ad a txt record in ispconfig3 dns spikes Installation/Configuration 5 11th November 2009 10:52
post fix error after a year aberrio Server Operation 5 5th May 2009 21:33
SPF, DKIM, & DomainKeys with Postfix virtual users atjensen11 HOWTO-Related Questions 6 28th September 2008 05:28
SSL related problems senzapaura Installation/Configuration 45 25th March 2006 14:15
postfix config jmroth Installation/Configuration 6 18th September 2005 15:58


All times are GMT +2. The time now is 17:21.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.