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



integrationblogcta.jpg

Net Module Documentation

This module allows you to access networking functions.

The functions within this module may or may not be governed by a feature list. The required feature list may vary from function to function, to review a total list of the available features sets on a cPanel server, please see "Feature Manager" in WHM.

Net::traceroute

API Version: 2 - Click here for documentation
Description: Perform a traceroute back to your local IP address while displaying packet speed at each hop in milliseconds.
Returns:  
 
<data>
  <line> Traceroute to your IP address, followed by the amount of time it took the packet to travel to the hop in milliseconds.</line>
</data>

Net::dnszone

API Version: 2 - Click here for documentation
Description: This API call performs an A record DNS query for the hostname presented via the 'host' variable, with a 60 second timeout. If more than one A record exists for a given FQDN, all will be returned.
Parameters:  
  host (string (FQDN))
  This value is a fully qualified domain name. Either host.domain.com, or domain.com, i.e., www.cpanel.net, or simply cpanel.net.
Returns:  
 
<data>
  <line> List of A Records for the domain.</line>
</data>

Topic revision: r2 - 26 Mar 2012 - 16:15:30 - Main.JenniferDoubrava