Tekati
10th July 2010, 17:29
All,
Domain SPF Records...
As this would be my first commit to the ispconfig3 community I have a question or okay maybe a few.
First is it okay to add such an enhancement? Basically all I have done is add another Button to the DNS records to allow you to place a SPF record in to your DNS records.
Second by doing this I need to ALTER dns_rr table to add SPF to the enum for type. Would I simply add this alter statement to the pre_update.sql file?
Third seeing as Bind9 now supports the SPF type would it be a good idea to add it to the Default template so that users can benefit from its usage or let them add it on their own? Basically I would suggest this sort of Default Template.
[ZONE]
origin={DOMAIN}.
ns={NS1}.
mbox={EMAIL}.
refresh=28800
retry=7200
expire=604800
minimum=86400
ttl=86400
[DNS_RECORDS]
A|{DOMAIN}.|{IP}|0|86400
A|www|{IP}|0|86400
A|mail|{IP}|0|86400
NS|{DOMAIN}.|{NS1}.|0|86400
NS|{DOMAIN}.|{NS2}.|0|86400
MX|{DOMAIN}.|mail.{DOMAIN}.|10|86400
TXT|{DOMAIN}.|"v=spf1 mx -all"|0|86400
SPF|{DOMAIN}.|"v=spf1 mx -all"|0|86400
This allows (only MX servers for your domain) the ispconfig3 server which is going to be the MX server is allowed to send email for the domain. Of course the users could modify as they see fit but this gives them the best security practice they could have at the start.
Even though ispconfig is not actually using SPF currently that is going to be one of my next projects to see if we can't get it setup in ispconfig3. Sites like craigslist and a few others wont even let you send email to them without SPF records for your domain.
Domain SPF Records...
As this would be my first commit to the ispconfig3 community I have a question or okay maybe a few.
First is it okay to add such an enhancement? Basically all I have done is add another Button to the DNS records to allow you to place a SPF record in to your DNS records.
Second by doing this I need to ALTER dns_rr table to add SPF to the enum for type. Would I simply add this alter statement to the pre_update.sql file?
Third seeing as Bind9 now supports the SPF type would it be a good idea to add it to the Default template so that users can benefit from its usage or let them add it on their own? Basically I would suggest this sort of Default Template.
[ZONE]
origin={DOMAIN}.
ns={NS1}.
mbox={EMAIL}.
refresh=28800
retry=7200
expire=604800
minimum=86400
ttl=86400
[DNS_RECORDS]
A|{DOMAIN}.|{IP}|0|86400
A|www|{IP}|0|86400
A|mail|{IP}|0|86400
NS|{DOMAIN}.|{NS1}.|0|86400
NS|{DOMAIN}.|{NS2}.|0|86400
MX|{DOMAIN}.|mail.{DOMAIN}.|10|86400
TXT|{DOMAIN}.|"v=spf1 mx -all"|0|86400
SPF|{DOMAIN}.|"v=spf1 mx -all"|0|86400
This allows (only MX servers for your domain) the ispconfig3 server which is going to be the MX server is allowed to send email for the domain. Of course the users could modify as they see fit but this gives them the best security practice they could have at the start.
Even though ispconfig is not actually using SPF currently that is going to be one of my next projects to see if we can't get it setup in ispconfig3. Sites like craigslist and a few others wont even let you send email to them without SPF records for your domain.