Differences
This shows you the differences between two versions of the page.
— |
cpanel:nameserver-selection [2014-04-25 19:18:16] (current) shaun.reitan created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Name Server Selection ====== | ||
+ | cPanel offers you a couple options of name servers to choose from. You can either log into the WHM and choose between these options or do it from the CLI. Both methods are explained below. | ||
+ | |||
+ | ===== Your name server options ===== | ||
+ | |||
+ | cPanel offerings three different nameservers options. | ||
+ | |||
+ | |||
+ | ===== Selecting a nameserver through the CLI ===== | ||
+ | |||
+ | cPanel has provided a script that can be run via the command line that will allow you to choose your nameserver. | ||
+ | |||
+ | |||
+ | To get a list of available nameserver types you can simply run the script with no options like so. | ||
+ | |||
+ | <code console> | ||
+ | root@server1 [/ | ||
+ | setupnameserver [options] [nameserver type] | ||
+ | |||
+ | Options: | ||
+ | --help | ||
+ | --force | ||
+ | | ||
+ | --current | ||
+ | |||
+ | |||
+ | Nameserver Types: | ||
+ | bind | ||
+ | and caching nameserver. | ||
+ | nsd Lower memory. | ||
+ | | ||
+ | mydns Uses MySql as backend. | ||
+ | | ||
+ | disabled | ||
+ | </ | ||
+ | |||
+ | Once you have made a decision you should run the script with any options you want to pass and then the nameserver type. The example below shows how to choose bind as your nameserver | ||
+ | |||
+ | <code console> | ||
+ | root@server1 [/ | ||
+ | Setting name server to bind in / | ||
+ | |||
+ | Halting NSD | ||
+ | |||
+ | Disabling NSD in init system | ||
+ | |||
+ | Halting MyDNS | ||
+ | |||
+ | Disabling MyDNS in init system | ||
+ | |||
+ | Uninstalling unused nameservers | ||
+ | |||
+ | Calling RPM installer object | ||
+ | [20140425.151546] | ||
+ | |||
+ | Checking that BIND is installed | ||
+ | |||
+ | Enabling BIND in init system | ||
+ | |||
+ | Setting up rndc configuration | ||
+ | Named looks down but should be up. Attempting restart... | ||
+ | Entropy santity check: / | ||
+ | Checking in / | ||
+ | The rndc key has been fixed successfully! | ||
+ | |||
+ | Starting BIND | ||
+ | |||
+ | Nameserver conversion complete | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Selecting a nameserver through the WHM ===== | ||
+ | |||
+ | In order to do this you must have root access into the WHM. Start by logging into the WHM, on the left hand side scroll down to the ' |