Skip to content
CWPControl Web PanelDocumentation
  1. Home
  2. Docs
  3. WebHosting DNS Cluster
  4. Ingress API & Panel Integration

Ingress API & Panel Integration

Updated

Ingress sources

An ingress source is a control panel or server allowed to push DNS zones into the cluster.
Each source has its own bearer token and a panel type that selects the parsing adapter
(cpanel, cwp, plesk, directadmin, bind).

Register a source

  1. Open Admin → Ingress Sources → New Source.
  2. Give it a name and choose the panel type.
  3. Copy the generated bearer token to the server that will push zones.

Sources can be enabled, disabled or have their token regenerated independently, and the panel records
the last seen time of each source.

Push a zone

From the panel server, send the zone over HTTPS with the source token. The cluster normalises the payload,
upserts records and re-signs DNSSEC if the zone is secured:

curl -X POST https://dns.example.com/ingress/zone 
  -H "Authorization: Bearer $INGRESS_TOKEN" 
  -H "Content-Type: application/json" 
  -d '{ "panel":"cwp", "zone":"example.test",
        "records":[ {"name":"@","type":"A","content":"203.0.113.10"},
                    {"name":"www","type":"A","content":"203.0.113.10"} ] }'

Supported panels

  • cPanel
  • CWP (Control WebPanel)
  • Plesk
  • DirectAdmin
  • BIND (bare zone files)