v=spf1 ~all
v=DMARC1; p=none; pct=100; adkim=r; aspf=r
DKIM keys are generated by your mail provider (Google Workspace, Microsoft 365, SendGrid, etc.), which gives you a selector and a public key to publish as a TXT record at selector._domainkey.yourdomain. There is nothing to generate here — enable DKIM in your provider's admin console, then use the checker tab to confirm the published record validates.