.pdf)
WHM Plugins
https://YOURIP:2087/scripts2/editzonetemplate?template=standard) Your MX, nameserver, domain PTR, and A records will all be generated automatically.
adddns function from within your custom script:
/xml-api/adddns function call name, plus the required variables (see below), to a URL which includes the address of your server.
example.com, you would include the following string in your script: https://example.com:2087/xml-api/adddns
adddns function from within your custom script:
/json-api/adddns function call name, plus the required variables (see below), to a URL which includes the address of your server.
example.com, you would include the following string in your script: https://example.com:2087/json-api/adddns
adddns function takes the following required variables as input: adddns function. 1 — success.
0 — failure.
https:example.com:2087/xml-api/adddns?domain=example.com&ip=1.2.3.4&template=standard&trueowner=user1 in WebHost Manager will produce results similar to:
<adddns>
<result>
<status>1</status>
<statusmsg>Added example.com ok belonging to user user1</statusmsg>
</result>
</adddns>
https:example.com:2087/json-api/adddns?domain=example.com&ip=1.2.3.4&template=standard&trueowner=user1 in WebHost Manager will produce results similar to:
{
"result":[
{
"status":1,
"statusmsg":"Added example.com ok belonging to user1"
}
]
}
Copyright © cPanel 2000–2011.