Cpanel Bandwidth Statistics Generation
The bandwidth statistics system in cPanel™ uses RRDTool [http://oss.oetiker.ch/rrdtool/] to track the data and generate
resulting graphs and meters. In cPanel™ 11.24 and prior versions, the way the RRDTool data was interpreted by the sys-tem could vary according to which subsystem was examining the data. This often resulted in inconsistent interpretations of the data, as well as missing data.
For cPanel™ 11.25, every aspect of the product that handled RRDTool data was overhauled and consolidated into a single subsystem. The end result is a consistent system that generates reliable and accurate statistics and data.
DNS Functions
The following functions were added to the XML-API in cPanel™ 11.25.0:
addzonerecord
This API function allows you to add a zone record.
editzonerecord
This function allows you to edit an existing zone record.
getzonerecord
This function allows you to view DNS zone records associated with a given domain.
removezonerecord
This function allows you to remove a zone record from the server.
resetzone
This API function will reset a DNS zone to its default values.
How do you know if an DDoS attack is happening?
Not all disruptions to service are the result of a denial-of-service attack. There may be technical problems with a particular network, or system administrators may be performing maintenance. However, the following symptoms could indicate a DoS or DDoS attack:
* unusually slow network performance (opening files or accessing websites)
* unavailability of a particular website.
* inability to access any website.
* dramatic increase in the amount of spam you receive in your account.
Account Functions
domainuserdata - This function displays information about a given domain, including addon and subdomains,whether CGI aliasing is enabled, log locations, and other details.
setsiteip - This function allows you to change the IP address associated with a website, or a user’s account,hosted on your server.
Account Backup and Restoration
When restoring backups from read-only media a working directory is created in a suitable, writable location. The location is determined by the same function used during account creation, based upon the HOMEDIR and HOMEMATCH values in /etc/wwwacct.conf. The backup is extracted into the working directory, then the restoration occurs. Afterwards, the working directory is cleared.
The cpmove file location is now output at the end of the packaging process. Prior versions dispalyed it earlier in the process, risking losing the location due to terminal scroll buffer constraints.