A backend module for PowerDNS that implements consistent hashing on the DNS results for a domain, so as to ensure optimised caching in a large datacenter environment.
The service also has an add-on module to perform remote availability monitoring and consequently add/remove records from the DNS results based on the health status of the individual records. This service can be found in the watcher directory.
-
Download the PowerDNS source code.
-
Set the correct path the the source code in './src/Makefile'.
-
Run 'make; make install'.
-
Create the database tables on a MariaDB or MySQL server from the schemas provided in the database directory. Populate the tables :)
-
Configure the database auth settings in the PowerDNS config file provided in the pdns-config directory.
-
You are ready to run the metadns service now, by starting PowerDNS with the config from step 5. If you need the monitoring service, then continue to step 8.
-
Setup the 'public_html' folder as your SSL server root folder for the watcher service database communication.
-
Setup each of the watcher services config files. Pay careful attention to the auth tokens, which you would have set in the database as 'monitor.secret_hash' in step 4.
-
Start the watchers!