Add ipv6 to spf record on account creation
How can ipv6 be added to the SPF record on account creation?
I read the post about editing the zone templates from 2 years ago which says:
Default value *before* editing should be
%domain%. IN TXT "v=spf1 mx a -all"
However, there is no TXT entry in any of my zone templates and still the defaut SPF records on domain creation are made.
Since there is no TXT present in the zone templates, do I have to create my own line with the correct ipv6 or maybe something like +|ipv6| or something like that?
How is this done nowaydays so new accounts will also get the ipv6 in their SPF records?
-
Hey hey! This won't be helpful as the server is not configured to send email with Exim by default - you would need to make this adjustment first if you plan to send mail over IPv6:
https://docs.cpanel.net/knowledge-base/email/how-to-configure-the-exim-outgoing-ip-address/
Although there is not an existing TXT record in the template, you can still add one, and that will overwrite the default that cPanel is creating. To be sure this will happen, you can also turn off WHM >> Tweak Settings "Enable SPF on domains for newly created accounts" so that way your custom record is the only thing that will be added.
1 -
Huh? I'm sorry, are you going to tell me a panel as cPanel is still living in the older days while others are already for a longer time using ipv6 as main ip (if present) with a fallback to ipv4 for connections with mailservers who do not have ipv6 available.
I don't really need to send mail over ipv6 but since ipv6 is already for years the default used addres (if a ipv6 is present) I really didn't expect this. The competition is already doing it by default for several years also now. I didn't expect cPanel to fall back, as with mod_ruid2 for example.
Anyway, if I create a TXT record in the template it will overwrite the default from cPanel, that is good news.
I presume I can use the %ip% and %ipv6% in the TXT record too, right?
Woud this be a correct example for the templates?%domain%. IN TXT "v=spf1 +a +mx +ip4:%ip% +ip6:%ipv6% ~all"
I don't like to customize if not really required, so I will only do the SPF part so we have that one ready for the future.
Any insight when cPanel will be thinking to start using more industry standard ipv6 usage?
0 -
That looks correct to me.
I don't have any details on when we'll have more fully-featured IPv6 implementation yet.
0 -
Oke thank you.
Hopefully cPanel will use more fully-featured ipv6 within reasonable time.
0
Please sign in to leave a comment.
Comments
4 comments