Reference Architecture
======================

The reference architecture for ZoneControl consists of one or more
webservers running ZoneControl, fronted by a Load-Balancer. These
ZoneControl-instances use one shared database for their configuration
and communicate with the API of one or more PowerDNS Authoritative
Servers.

.. figure:: img/ref-diag.png
   :alt: Reference Architecture Diagram
   :align: center
   :width: 50%

Ports and communications
------------------------

ZoneControl runs through its built-in `gunicorn <http://gunicorn.org/>`__
webserver and it should be put behind another webserver like `nginx
<http://nginx.org/>`__. See :ref:`fronting-with-nginx`
