From 1f572bd502f638f726a40a50c959e08ae5621cd3 Mon Sep 17 00:00:00 2001 From: rohit haldar <35255598+b805rohit@users.noreply.github.com> Date: Mon, 24 Jul 2023 16:47:06 +0530 Subject: [PATCH 1/4] feat: Added Combo Records --- leadconnectorhq.com.email.json | 22 ++++++++++- leadconnectorhq.com.site-a-cname-record.json | 26 +++++++++++++ leadconnectorhq.com.site-a-record.json | 38 +++++++++---------- ...connectorhq.com.site-a-txt-ssl-record.json | 32 ++++++++++++++++ leadconnectorhq.com.text-ssl.json | 11 +++++- 5 files changed, 106 insertions(+), 23 deletions(-) create mode 100644 leadconnectorhq.com.site-a-cname-record.json create mode 100644 leadconnectorhq.com.site-a-txt-ssl-record.json diff --git a/leadconnectorhq.com.email.json b/leadconnectorhq.com.email.json index 46636eb2..67a13116 100644 --- a/leadconnectorhq.com.email.json +++ b/leadconnectorhq.com.email.json @@ -7,9 +7,27 @@ "version": 1, "logoUrl": "https://assets.cdn.filesafe.space/knES3eSWYIsc5YSZ3YLl/media/6269a1de6e3f42c196dbd949.png", "description": "Enable domain domain to work with the LeadConnector", - "variableDescription": "MX Records: LeadConnector connection", - "syncPubKeyDomain":"leadconnectorhq.com", + "variableDescription": "TXT, CNAME, and MX Records: LeadConnector connection", + "syncPubKeyDomain": "leadconnectorhq.com", "records": [ + { + "type": "TXT", + "host": "%txtHost1%", + "data": "%txtValue1%", + "ttl": 600 + }, + { + "type": "TXT", + "host": "@", + "data": "%txtValue2%", + "ttl": 600 + }, + { + "type": "CNAME", + "host": "email", + "pointsTo": "%cnameValue%", + "ttl": 3600 + }, { "type": "MX", "host": "%mxHost1%", diff --git a/leadconnectorhq.com.site-a-cname-record.json b/leadconnectorhq.com.site-a-cname-record.json new file mode 100644 index 00000000..78b6eb2d --- /dev/null +++ b/leadconnectorhq.com.site-a-cname-record.json @@ -0,0 +1,26 @@ +{ + "providerId": "leadconnectorhq.com", + "providerName": "LeadConnector", + "serviceId": "site-a-cname-record", + "serviceName": "LeadConnector Site A and CNAME records", + "version": 1, + "syncRedirectDomain": "domainconnect.leadconnectorhq.com,leadconnectorhq.com", + "logoUrl": "https://assets.cdn.filesafe.space/knES3eSWYIsc5YSZ3YLl/media/6269a1de6e3f42c196dbd949.png", + "description": "Enable domain to work with the LeadConnector by configuring the necessary A and CNAME records.", + "variableDescription": "IP1: LeadConnector connection,cnameValue: Custom CNAME valueā€¯", + "syncPubKeyDomain": "leadconnectorhq.com", + "records": [ + { + "type": "A", + "host": "@", + "pointsTo": "%IP1%", + "ttl": 600 + }, + { + "type": "CNAME", + "host": "www", + "pointsTo": "%cnameValue%", + "ttl": 3600 + } + ] +} diff --git a/leadconnectorhq.com.site-a-record.json b/leadconnectorhq.com.site-a-record.json index 4ab3aaf8..28d81099 100644 --- a/leadconnectorhq.com.site-a-record.json +++ b/leadconnectorhq.com.site-a-record.json @@ -1,20 +1,20 @@ { - "providerId": "leadconnectorhq.com", - "providerName": "LeadConnector", - "serviceId": "site-a-record", - "serviceName": "LeadConnector Site A records", - "version": 1, - "syncRedirectDomain":"domainconnect.leadconnectorhq.com,leadconnectorhq.com", - "logoUrl": "https://assets.cdn.filesafe.space/knES3eSWYIsc5YSZ3YLl/media/6269a1de6e3f42c196dbd949.png", - "description": "Enable domain to work with the LeadConnector", - "variableDescription": "IPs: LeadConnector connection", - "syncPubKeyDomain":"leadconnectorhq.com", - "hostRequired": true, - "records": [{ - "type":"A", - "host":"@", - "pointsTo":"%IP1%", - "ttl":600 - } -] -} \ No newline at end of file + "providerId": "leadconnectorhq.com", + "providerName": "LeadConnector", + "serviceId": "site-a-record", + "serviceName": "LeadConnector Site A records", + "version": 1, + "syncRedirectDomain": "domainconnect.leadconnectorhq.com,leadconnectorhq.com", + "logoUrl": "https://assets.cdn.filesafe.space/knES3eSWYIsc5YSZ3YLl/media/6269a1de6e3f42c196dbd949.png", + "description": "Enable domain to work with the LeadConnector", + "variableDescription": "IPs: LeadConnector connection", + "syncPubKeyDomain": "leadconnectorhq.com", + "records": [ + { + "type": "A", + "host": "@", + "pointsTo": "%IP1%", + "ttl": 600 + } + ] +} diff --git a/leadconnectorhq.com.site-a-txt-ssl-record.json b/leadconnectorhq.com.site-a-txt-ssl-record.json new file mode 100644 index 00000000..f7162729 --- /dev/null +++ b/leadconnectorhq.com.site-a-txt-ssl-record.json @@ -0,0 +1,32 @@ +{ + "providerId": "leadconnectorhq.com", + "providerName": "LeadConnector", + "serviceId": "site-a-txt-ssl-record", + "serviceName": "LeadConnector Site A and TXT ssl records", + "version": 1, + "syncRedirectDomain": "domainconnect.leadconnectorhq.com,leadconnectorhq.com", + "logoUrl": "https://assets.cdn.filesafe.space/knES3eSWYIsc5YSZ3YLl/media/6269a1de6e3f42c196dbd949.png", + "description": "Enable domain to work with the LeadConnector by configuring the necessary A and TXT SSL records.", + "variableDescription": "P1: LeadConnector connection, txtAcmeValue: Value for _acme-challenge TXT record, txtCfValue: Value for _cf-custom-hostname TXT record", + "syncPubKeyDomain": "leadconnectorhq.com", + "records": [ + { + "type": "A", + "host": "@", + "pointsTo": "%IP1%", + "ttl": 600 + }, + { + "type": "TXT", + "host": "_acme-challenge", + "data": "%txtAcmeValue%", + "ttl": 600 + }, + { + "type": "TXT", + "host": "_cf-custom-hostname", + "data": "%txtCfValue%", + "ttl": 600 + } + ] +} diff --git a/leadconnectorhq.com.text-ssl.json b/leadconnectorhq.com.text-ssl.json index f2fa0da1..fa90eb72 100644 --- a/leadconnectorhq.com.text-ssl.json +++ b/leadconnectorhq.com.text-ssl.json @@ -7,8 +7,8 @@ "version": 1, "logoUrl": "https://assets.cdn.filesafe.space/knES3eSWYIsc5YSZ3YLl/media/6269a1de6e3f42c196dbd949.png", "description": "Enable domain domain to work with the LeadConnector", - "variableDescription": "TXT SSL: LeadConnector connection", - "syncPubKeyDomain":"leadconnectorhq.com", + "variableDescription": "txtAcmeValue: Value for _acme-challenge TXT record, txtCfValue: Value for _cf-custom-hostname TXT record", + "syncPubKeyDomain": "leadconnectorhq.com", "records": [ { "groupId": "ssl-txt", @@ -16,6 +16,13 @@ "host": "_acme-challenge", "data": "%txtAcmeValue%", "ttl": 600 + }, + { + "groupId": "ssl-txt", + "type": "TXT", + "host": "_cf-custom-hostname", + "data": "%txtCfValue%", + "ttl": 600 } ] } From ff1f7e69ca89129e53b4c7993723fc48becb2a7a Mon Sep 17 00:00:00 2001 From: rohit haldar <35255598+b805rohit@users.noreply.github.com> Date: Mon, 24 Jul 2023 17:10:25 +0530 Subject: [PATCH 2/4] fix: email mx priority --- leadconnectorhq.com.email.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/leadconnectorhq.com.email.json b/leadconnectorhq.com.email.json index 67a13116..fdb35081 100644 --- a/leadconnectorhq.com.email.json +++ b/leadconnectorhq.com.email.json @@ -39,14 +39,14 @@ "type": "MX", "host": "%mxHost2%", "pointsTo": "%mxValue2%", - "priority": 10, + "priority": 20, "ttl": 600 }, { "type": "MX", "host": "%mxHost3%", "pointsTo": "%mxValue3%", - "priority": 10, + "priority": 30, "ttl": 600 } ] From 07c402ed7fa2bd99e12aa5d3c6e0c24deea762a5 Mon Sep 17 00:00:00 2001 From: rohit haldar <35255598+b805rohit@users.noreply.github.com> Date: Mon, 24 Jul 2023 17:33:18 +0530 Subject: [PATCH 3/4] fix: txt dynamic host required --- leadconnectorhq.com.text-dynamic-record.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/leadconnectorhq.com.text-dynamic-record.json b/leadconnectorhq.com.text-dynamic-record.json index fc7bb646..f612d889 100644 --- a/leadconnectorhq.com.text-dynamic-record.json +++ b/leadconnectorhq.com.text-dynamic-record.json @@ -8,8 +8,7 @@ "logoUrl": "https://assets.cdn.filesafe.space/knES3eSWYIsc5YSZ3YLl/media/6269a1de6e3f42c196dbd949.png", "description": "Enable domain to work with the LeadConnector", "variableDescription": "TXTs: LeadConnector connection", - "syncPubKeyDomain":"leadconnectorhq.com", - "hostRequired": true, + "syncPubKeyDomain": "leadconnectorhq.com", "records": [ { "groupId": "txt", From 3447aaa216003e4e105b4d5ad82b38bf5cd5fd67 Mon Sep 17 00:00:00 2001 From: rohit haldar <35255598+b805rohit@users.noreply.github.com> Date: Wed, 26 Jul 2023 11:29:44 +0530 Subject: [PATCH 4/4] fix: version and groupId --- leadconnectorhq.com.email.json | 2 +- leadconnectorhq.com.site-a-record.json | 2 +- leadconnectorhq.com.text-dynamic-record.json | 3 +-- leadconnectorhq.com.text-ssl.json | 4 +--- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/leadconnectorhq.com.email.json b/leadconnectorhq.com.email.json index fdb35081..2bb5560c 100644 --- a/leadconnectorhq.com.email.json +++ b/leadconnectorhq.com.email.json @@ -4,7 +4,7 @@ "serviceId": "email", "serviceName": "LeadConnector Email records", "syncRedirectDomain": "domainconnect.leadconnectorhq.com,leadconnectorhq.com", - "version": 1, + "version": 2, "logoUrl": "https://assets.cdn.filesafe.space/knES3eSWYIsc5YSZ3YLl/media/6269a1de6e3f42c196dbd949.png", "description": "Enable domain domain to work with the LeadConnector", "variableDescription": "TXT, CNAME, and MX Records: LeadConnector connection", diff --git a/leadconnectorhq.com.site-a-record.json b/leadconnectorhq.com.site-a-record.json index 28d81099..15b0791c 100644 --- a/leadconnectorhq.com.site-a-record.json +++ b/leadconnectorhq.com.site-a-record.json @@ -3,7 +3,7 @@ "providerName": "LeadConnector", "serviceId": "site-a-record", "serviceName": "LeadConnector Site A records", - "version": 1, + "version": 2, "syncRedirectDomain": "domainconnect.leadconnectorhq.com,leadconnectorhq.com", "logoUrl": "https://assets.cdn.filesafe.space/knES3eSWYIsc5YSZ3YLl/media/6269a1de6e3f42c196dbd949.png", "description": "Enable domain to work with the LeadConnector", diff --git a/leadconnectorhq.com.text-dynamic-record.json b/leadconnectorhq.com.text-dynamic-record.json index f612d889..d8d44874 100644 --- a/leadconnectorhq.com.text-dynamic-record.json +++ b/leadconnectorhq.com.text-dynamic-record.json @@ -4,14 +4,13 @@ "serviceId": "text-dynamic-record", "serviceName": "LeadConnector Text records", "syncRedirectDomain": "domainconnect.leadconnectorhq.com,leadconnectorhq.com", - "version": 1, + "version": 2, "logoUrl": "https://assets.cdn.filesafe.space/knES3eSWYIsc5YSZ3YLl/media/6269a1de6e3f42c196dbd949.png", "description": "Enable domain to work with the LeadConnector", "variableDescription": "TXTs: LeadConnector connection", "syncPubKeyDomain": "leadconnectorhq.com", "records": [ { - "groupId": "txt", "type": "TXT", "host": "@", "data": "%txtValue%", diff --git a/leadconnectorhq.com.text-ssl.json b/leadconnectorhq.com.text-ssl.json index fa90eb72..7a183dfa 100644 --- a/leadconnectorhq.com.text-ssl.json +++ b/leadconnectorhq.com.text-ssl.json @@ -4,21 +4,19 @@ "serviceId": "text-ssl", "serviceName": "LeadConnector Text records", "syncRedirectDomain": "domainconnect.leadconnectorhq.com,leadconnectorhq.com", - "version": 1, + "version": 2, "logoUrl": "https://assets.cdn.filesafe.space/knES3eSWYIsc5YSZ3YLl/media/6269a1de6e3f42c196dbd949.png", "description": "Enable domain domain to work with the LeadConnector", "variableDescription": "txtAcmeValue: Value for _acme-challenge TXT record, txtCfValue: Value for _cf-custom-hostname TXT record", "syncPubKeyDomain": "leadconnectorhq.com", "records": [ { - "groupId": "ssl-txt", "type": "TXT", "host": "_acme-challenge", "data": "%txtAcmeValue%", "ttl": 600 }, { - "groupId": "ssl-txt", "type": "TXT", "host": "_cf-custom-hostname", "data": "%txtCfValue%",