selector._domainkey.domain.com TXT
โก Using Google DNS over HTTPS
Generate a 2048-bit RSA key pair for DKIM:
โก The public key (p= tag) goes in your DNS TXT record at: selector._domainkey.yourdomain.com
| Key Size | Security | DNS Record Size | Recommendation |
|---|---|---|---|
| 1024-bit | โ ๏ธ Weak | ~180 chars | โ Avoid - deprecated |
| 2048-bit | โ Strong | ~350 chars | โ Recommended |
| 3072-bit | ๐ Very Strong | ~500 chars | ๐ For high security |
โ ๏ธ Note: DNS TXT records have a 512-byte limit. 4096-bit keys may exceed this limit.
| Tag | Required | Description |
|---|---|---|
v= |
โ Yes | Version - must be "DKIM1" |
p= |
โ Yes | Public key (base64) |
k= |
โ No | Key type (rsa is default) |
h= |
โ No | Hash algorithms (sha256 recommended) |
s= |
โ No | Service type (email is default) |
t= |
โ No | Flags (y=testing, s=strict) |