Domain Connect
One-click DNS setup for Gatehills customers
Gatehills is a Domain Connect 2.x DNS provider. Service providers such as Microsoft 365 and Google Workspace configure the DNS of our customers after they approve it in the client area.
Discovery
Domains on Gatehills DNS publish a TXT record _domainconnect with the host of our API. Read it, then call the settings endpoint.
Settings
GET https://<host from _domainconnect>/v2/example.com/settings
{"providerId":"gatehills.com","providerName":"Gatehills","providerDisplayName":"Gatehills",
"urlSyncUX":"…","urlAPI":"…"}
404 when the domain is not on Gatehills DNS. Check a template with GET {urlAPI}/v2/domainTemplates/providers/{providerId}/services/{serviceId}.
Synchronous flow
{urlSyncUX}/v2/domainTemplates/providers/{providerId}/services/{serviceId}/apply
?domain=example.com&host=&<variables>&redirect_uri=…&state=…&sig=…&key=…
The customer signs in, sees exactly which records change and confirms; we apply the template and return to redirect_uri with state. Signed requests (sig, key) are verified against the public key published by the provider. The asynchronous (OAuth) flow is not offered.
Templates
We only apply templates that we have reviewed and loaded from the official Domain Connect templates. Is your service missing? Write to us with your providerId and serviceId.