How To Run Your Own Name Server With ISPConfig 3 And Fast Hosts

This tutorial shows how you can run your own name server for domains that you register with Of course, this works with every other registrar as well, although the procedure might differ a little bit. We will use the ISPConfig 3 server as the primary name server and also acting as the secondary. This may be suited best to a single server setup

To do this, you need one server with ISPConfig 3 installed and a Fast hosts account.


1 Current Situation

Our current situation is as follows: we have

  • an ISPConfig 3 server: IP address; this one will be our primary name server.
  • a fasthosts acccount with the already registered domain

Our primary name server (ISPConfig server) will be called; we will also have Because will host the DNS records of its own domain,, we will have to create a glue record to avoid the hen <-> egg problem.


2 Create The Zone In ISPConfig

First we log in to ISPConfig and go to the DNS Manager to create the zone with all desired records (including We click on Add DNS Zone and fill in the form as follows:

You can then click on 'Zones' and the click on the zone you created; ''.

You should see some zone records created automatically as below:

Now we need to add an 'A' record for NS1. Click the 'A' icon and complete the fields like this. The IP address is your public IP address.

 Now repeat this for NS2. Again I must stress that we are creating the facade that both name servers are on the same computer.

Now we add some CNAME records for services such mail. Click on 'CNAME' and in the host field write 'pop3'. In the target field I will write

You can now create more or less CNAME records as your require.

Your server is now ready to accept the incoming name server request.


3 Setup Fasthosts

There are two things we need to do with fasthosts; set up the glue  records and ask fasthosts to add our name server to the global registry.

 Log in to your control panel and click 'Configure your domain names'.

Then click the domain name that we've previously been setting up in our ISPConfig 3 control panel. In this case, it's

Now, we need to set up the glue records. Click  'Glue Records':

Now we need to add the glue records. Click 'Add Glue Record':

You need to insert 'ns1' in the first fields and then your public IP address in the second field.

Repeat this step again for 'ns2', again in our case using the same public IP.

At the end of it, you MUST contact the domain provider and ask them to add your two name servers to the global registry.



Please add to the global registry:
with ip address (your ns ip here)
with ip address (your ns ip here) 

4 hours later....

Discussion Thread
Response (Zoe - Ops Support) 30/06/2010 04.22 PM
Dear David,

Thank you for your support enquiry.

The nameserver and have now been added to the global registry.


Zoe *****

Allow 72 hours for the changes to propagate and you're ready to add domains to your name server records. Remember to change the name servers for your domains to ns1 and; in this case it would:

This howto was based on the original howto for ISPConfig 2 written by Falko Timme found here.

Share this page:

5 Comment(s)

Add comment

Please register in our forum first to comment.


By: Rimas

It doesn't work for centos 6.4

By: webdesign mangalore

 Name server section

Should we need to point each domain name specific ip address ? 

By: puffin

very helpful ! thank you !

By: Mohammad Kashif

If i am on godaddy then should i contact them to add my custom nameserver in global registary? 

By: nababan

Owh my god your documentation help my 2 days..I must set DNS Manually as your config, if using ISPConfig wizard always return bind9 run error..Im using Debian 9 and Provider