Private Nameservers in Webmin

If you want to set up nameservers you need two dedicated IP addresses from ISP or hosting provider.

Assume you have registered domain name "", you have two IP addresses: and And your server's hostname is "".

Step 1. Registering name servers.

Login to your domain name control panel (registrar) and register child name servers:

Exact way of registering child name servers depends on your registrar and can be easily found in the Internet.

Step 2. Configure BIND server

Login to your webmin panel using url:

http://YourIP:10000 or https://YourIP:10000

Click on the "BIND DNS Server" under "Servers" category and select "Create master zone".


Fill the fields:

Domain name / Network:
Master server:
Email address: (or any email you want)

Press "Create".

Now you are in your master zone control panel. Press "Address"

and set A Records:
Note that dot "." at the end of domain name is necessary.

You can also add any subdomains you need, for example:,, etc.


Return to BIND main page with "BIND DNS Server" link at the left webmin menu.

Select "Addresses and Topology" and set the value of "Addresses" string to "any" instead of "".



Select "Zone Defaults"

and set "Allow queries from.." to "default" instead of "".


Start BIND.


Step 3. Update name servers

Now go to your registrars control panel and update nameservers for your domain to and

Note that full propagation may take up to 24 hours and you domain may be unreachable from some ISPs.

Was this answer helpful?

 Print this Article

Also Read

DNS Records

You can add your registered domain and DNS records using SolusVM Control Panel. Note that you...

Private Nameservers in WHM/cPanel

To set up private nameservers we need to have 2 IP addresses. Let us set up...

Create rDNS (PTR) record

You can add rDNS/PTR record for your domain. Please be sure that you have already added A-record...