Proper way to add SPF for new Servers

SYSTEM INFORMATION
OS type and version AlmaLinux Linux 8.6
Webmin version 1.999
Virtualmin version 7.1
Related packages SUGGESTED

Hi, is there a guide for adding Google SPF record for all new created virtual servers?

Adding this line on Virtualmin > System Settings > Server Templates > BIND DNS Domain created duplicated SPF entry

${DOM}. 3600s IN TXT "v=spf1 ip4:${IP} include:_spf.google.com ~all"

so newly created virtual server have these records:

example.com.	IN	TXT	"v=spf1 a mx a:example.com ip4:[redacted] ip4:[redacted] ip6:[redacted ip6] ?all"
example.com. 3600s IN TXT "v=spf1 ip4:[redacted] include:_spf.google.com ~all"