Templates for use in the Domain Connect Protocol
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
README.md
about.me.website.json
about.me.website_and_email.json
app.unbounce.com.site.json
domainconnect.org.dynamicdns.json
exampleservice.domainconnect.org.template1.json
exampleservice.domainconnect.org.template2.json
fraudmarc.com.mail.json
getbento.com.website.json
godaddy.com.gocentral.json
godaddy.com.mwp2.json
godaddy.com.plesk.json
godaddy.com.proemail.json
google.com.gsuite-setup.json
google.com.gsuite-shared.json
google.com.gsuite.json
goshopmatic.com.website.json
gvng.com.hosting_development.json
gvng.com.hosting_production.json
gvng.com.hosting_staging.json
hubspot.com.hubspot-prod-web-hosting.json
hubspot.com.hubspot-qa-web-hosting.json
hubspot.com.hubspot-template-2.json
id4me.org.activation.json
jitbit.com.helpdesk.json
leadpages.net.custom-domain-apex-prod.json
leadpages.net.custom-domain-apex-test.json
leadpages.net.custom-domain-prod.json
leadpages.net.custom-domain-test.json
mail-list.com.lists.json
mailjet.com.domain-auth.json
mailjet.com.domain-validation.json
microsoft.com.dpoo.json
microsoft.com.o365.json
outlook.com.personalizedoutlookemail.json
plesk.com.web.json
rightclick.io.site.json
secureserver.net.mwp2.json
secureserver.net.plesk.json
shopify.com.website.json
smugmug.com.site.json
squarespace.com.website.json
sucuri.net.waf.json
template.schema
webflow.com.webflow-basic.json
webflow.com.webflow-ssl.json
wisestamp.com.website.json
wix.com.website.json
wordpress.com.email-forwarding.json
wordpress.com.g-suite.json
wordpress.com.hosting.json
wpengine.com.arecord.json
wpengine.com.cname.json
zoho.com.zmail_hosting.json

README.md

Templates

Build Status

Templates for use in the Domain Connect Protocol

These map to the individual service providers for domain connect. See https://domainconnect.org

For details on how to constuct a Domain Connect template, refer to section 5.2 and 5.3 of the Domain Connect Spec:

https://github.com/Domain-Connect/spec/blob/master/Domain%20Connect%20Spec%20Draft.adoc#template-definition https://github.com/Domain-Connect/spec/blob/master/Domain%20Connect%20Spec%20Draft.adoc#template-record

Template Naming Format

Templates should be named according the following pattern: providerId.serviceId.json

For example: myprovider.com.website.json

Example Template Format

Following is an example of a complete Domain Connect template, with examples of various DNS records included:

{
  "providerId": "<Enter providerId>",
  "providerName": "<Enter providerName>",
  "serviceId": "<Enter serviceId>",
  "serviceName": "<Enter serviceName>",
  "version": 1,
  "logoUrl": "<Enter logoUrl>",
  "description": "<Enter description>",
  "variableDescription": "<Enter variableDescription>",
  "syncBlock": false,
  "shared": true,
  "syncPubKeyDomain": "<Enter syncPubKeyDomain>",
  "syncRedirectDomain": "<Enter syncRedirectDomain>",
  "warnPhishing": true,
  "hostRequired": false,
  "records": [
    {
      "type": "A",
      "host": "@",
      "pointsTo": "1.1.1.1",
      "ttl": "3600"
    },
    {
      "type": "A",
      "host": "@",
      "pointsTo": "%a%",
      "ttl": "3600"
    },
    {
      "type": "CNAME",
      "host": "www",
      "pointsTo": "@",
      "ttl": "3600"
    },
    {
      "type": "CNAME",
      "host": "sub",
      "pointsTo": "%sub%.mydomain.com",
      "ttl": "3600"
    },
    {
      "type": "CNAME",
      "host": "%host%",
      "pointsTo": "%sub%.mydomain.com",
      "ttl": "3600"
    },
    {
      "type": "TXT",
      "host": "@",
      "data": "%txt%",
      "ttl": "3600"
    },
    {
      "type": "SPFM",
      "host": "@",
      "spfRules": "include:spf.mydomain.com"
    },
    {
      "type": "MX",
      "host": "@",
      "pointsTo": "1.1.1.2",
      "priority": "0",
      "ttl": "3600"
    },
    {
      "type": "MX",
      "host": "@",
      "pointsTo": "%mx%",
      "priority": "0",
      "ttl": "3600"
    },
    {
      "type": "SRV",
      "service": "_sip",
      "protocol": "_tls",
      "port": "443",
      "weight": "20",
      "priority": "10",
      "name": "@",
      "target": "%target%",
      "ttl": "3600"
    }
  ]
}