Guide to Custom dnsadmin Plugins - The Setup Module

Introduction

The Setup module creates the node configuration file for a new DNS node. Store the Setup module as a file with the .pm extension in the /usr/local/cpanel/Cpanel/NameServer/Setup/Remote/ directory, which corresponds to the  Cpanel::NameServer::Setup::Remotenamespace.

Note:

You can find additional example modules in the /usr/local/cpanel/Cpanel/NameServer/Setup/Remote/ directory on your cPanel & WHM server. 

Each Setup module corresponds to a server type in the Backend Type menu in WHM's DNS Cluster interface (Home >> Clusters >> DNS Cluster).

  • The get_config() subroutine generates the interface that displays after users select that Setup module's server type and clickConfigure.
  • The setup() subroutine processes the data that the user enters.

Important:

Setup modules must include both the get_config() and setup() subroutines.

 

  • 12 Users Found This Useful
Was this answer helpful?

Related Articles

The cPanel Interface

For  cPanel  &  WHM  version  58 Overview The cPanel interface is...

User Preferences

For cPanel & WHM version 58 Overview This document outlines how to access your cPanel...

Manage External Authentications

For cPanel & WHM version 58 Overview Manage credentials Additional documentation...

What is cPanelID?

In This Article:  Overview ServicesHow to get a cPanelID cPanelID External...

Guide to cPanel Interface Customization - cPanel Style Development

Introduction You can develop custom styles that modify the appearance of the cPanel interface....