To aid developers in seeing how to use Domain Connect, we’ve built a simple example hosting service. This can be used by DNS Providers to test your implementation of Domain Connect, or by Service Providers to see how to implement Domain Connect.
You can visit this hosting service at http://exampleservice.domainconnect.org
The source code for this application can be found at https://github.com/Domain-Connect/python-dc-statelesshosting
This application is a simple Python Bottle application. It implements both the synchronous (with and without a signature) and asynchronous protocols using OAuth.
The application implements a fictitious hosting company called “Stateless Hosting”. The “consumer” enters their domain name and the text they want displayed on their website. Using Domain Connect, DNS is configured with the proper IP address for the apex A record. The message is also cleverly stored in DNS in a TXT record. Yes, we are using DNS as a distributed database and we don’t necessarily advocate this in real practice.
This application was written as part of a hackathon, and as such the provider is whdhackathon and the template is whd-template-1. This template can also be found at https://github.com/Domain-Connect/Templates/blob/master/whdhackathon.whd-template-1.json