How to Create Your Own NS in VestaCP

To set up your own (child) NSs for a domain like and follow these steps:

  1. Go to the VestaCP panel at https://ip.of.your.server:8083/
  2. If the domain has not been created yet, go to the WEB tab, and create it.
  3. Click the DNS tab. Click EDIT to the required domain.
    Click the DNS tab and click EDIT
  4. Change the NS-servers template to child-ns. Click Save to save your changes.
    Change the NS-servers template

The dig (domain information groper) utility can be used to verify the entry.

The dig utility installation depends on the OS version:


sudo yum install bind-utils


sudo apt install dnsutils

Check example: dig name.of.your.domain @ ip.  

You will get something like this:

 ; <<>> DiG 9.10.3-P4 <<>> name.of.your.domain @  ;; OPT PSEUDOSECTION:  ; EDNS: version: 0, flags:; udp: 4096  ;; QUESTION SECTION:  ; name.of.your.domain.                       IN      A  ;; ANSWER SECTION:  test.dom.                14400   IN      A  ;; AUTHORITY SECTION:  name.of.your.domain.                14400   IN      NS                14400   IN      NS  ;; ADDITIONAL SECTION:            14400   IN      A            14400   IN      A  ;; SERVER:

Here you can see that the request for the domain name.of.your.domain was made to the server with the IP address The response contains an A-record with the value (;; ANSWER SECTION:) and NS records (;; AUTHORITY SECTION:) with value ns1. name.of.your.domain. and ns2. name.of.your.domain. Here you can see the IP addresses of NS servers – and More about CNAME.

So that and are on different IP addresses (requirement of some registrars):

  1. Go to the DNS tab, select a domain, and click LIST xx RECORDS.
  2. Press EDIT on one of the ns1 or ns2 entries
  3. Enter the new IP address in IP or Value. Click Save to save your changes.

Dedicated IP hosting features.

If you have any questions, please create a ticket to technical support.