Skip to content
Open
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions recruitly.io.sendgrid-email-auth.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"providerId": "recruitly.io",
"providerName": "Recruitly",
"serviceId": "sendgrid-email-auth",
"serviceName": "Recruitly Email Authentication",
"version": 1,
"description": "Authenticates a sending domain for Recruitly (SendGrid-backed) by adding the three link-branding / DKIM CNAME records. All three are applied together via the synchronous flow.",
"variableDescription": "%mailhost%/%mailtarget%: link-branding (em####) CNAME name + target; %dkim1host%/%dkim1target% and %dkim2host%/%dkim2target%: the two DKIM CNAME names (selector._domainkey) + targets. Values are supplied per-domain from the SendGrid domain-authentication API.",
"syncBlock": false,
"syncPubKeyDomain": "dcsig.recruitly.io",
"syncRedirectDomain": "dnsconnect.recruitly.app",
"records": [
{ "type": "CNAME", "host": "%mailhost%", "pointsTo": "%mailtarget%", "ttl": 3600 },
{ "type": "CNAME", "host": "%dkim1host%", "pointsTo": "%dkim1target%", "ttl": 3600 },

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dkim host names have a pre-defined structure, so bare host could be avoided.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you — fixed in the latest push.

The two DKIM CNAME hosts are now literals in the template (rly._domainkey / rly2._domainkey) instead of bare %dkim1host%/%dkim2host% variables. Our SendGrid account uses a constant custom DKIM selector, so those host names are fixed; only the per-domain DKIM targets remain variable. The link-branding em#### host stays a variable because its number genuinely varies per domain. Template re-validates cleanly against template.schema.

{ "type": "CNAME", "host": "%dkim2host%", "pointsTo": "%dkim2target%", "ttl": 3600 }
]
}
Loading