Get DNS Domain Details

To view the DNS domain details, use the following request:

GET /settings/dns_setup.xml
GET /settings/dns_setup.json

XML Request Example

curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url  http://onapp.test/settings/dns_setup.xml

JSON Request Example

curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url  http://onapp.test/settings/dns_setup.json 

XML Output Example

<dns_setup>
<domain>mydns.com</domain>
</dns_setup>

Where:

domain – DNS domain name.