Software Development Kit

cPanel & WHM's API [+] cPanel & WHM's API [-]

Modules and Plugins [+] Modules and Plugins [-]

cPanel & WHM Hooks [+] cPanel & WHM Hooks [-]

cPAddons (Site Software) [+] cPAddons (Site Software) [-]

System Administration [+] System Administration [-]

Developer Software [+] Developer Software [-]

Back to All Documentation

cPanel XMLAPI - setresolvers

This function configures the nameservers that your server will use to resolve domain names. It is highly important that your resolving nameservers work and work well or your server may have performance and stability issues.



  • nameserver1 (string)
    • Ip address of the first resolving nameserver.
  • nameserver2 (string)
    • Ip address of the second resolving nameserver.
  • nameserver3 (string)
    • Ip address of the third resolving nameserver.



Calling /xml-api/setresolvers?nameserver1= in WebHost Manager will produce output similar to:

       <msgs>Listed in order they are:</msgs>
       <statusmsg>Your resolvers have been setup!</statusmsg>


Copyright 2008 cPanel Inc.

Edit | Attach | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r2 - 07 Apr 2009 - 20:48:28 - Main.JustinSchaefer