Child pages
  • Set Up DNS Domain
Skip to end of metadata
Go to start of metadata

To set up DNS domain, use the following methods:

POST /settings/dns_setup.xml
POST /settings/dns_setup.json

XML Request example

curl -i -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass http://onapp.test/settings/dns_setup.xml -X POST -d "<dns_setup><domain></domain></dns_setup>" 

JSON Request example

curl -i -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass http://onapp.test/settings/dns_setup.json -X PUT -d '{"dns_setup": {"domain": ""}}'


The only required parameter is domain* – DNS domain name.

XML Response example

<?xml version="1.0" encoding="UTF-8"?>
  • No labels