Skip to main content

Add ipv6 to spf record on account creation

Comments

4 comments

  • cPRex Jurassic Moderator

    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
  • rhm.geerts

    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
  • cPRex Jurassic Moderator

    That looks correct to me.

    I don't have any details on when we'll have more fully-featured IPv6 implementation yet.

    0
  • rhm.geerts

    Oke thank you.

    Hopefully cPanel will use more fully-featured ipv6 within reasonable time.

    0

Please sign in to leave a comment.