How To Run Your Own Name Servers With ISPConfig And GoDaddy - Page 3

6 Create DNS Records For ifwolfpack.com On ns2.erikturk.com

(The steps from this chapter have to be done on ISPConfig server #2/ns2.erikturk.com.)

I will refer to ISPConfig server #2 as ns2.erikturk.com from now on.

ns2.erikturk.com must hold the same DNS records as ns1.erikturk.com so if ns1.erikturk.com goes down for some reason, ns2.erikturk.com can take over. Now it would be stupid to create the same records again on ns2.erikturk.com. To avoid this work, we can simply transfer the ifwolfpack.com zone from ns1.erikturk.com to ns2.erikturk.com. This is called a zone transfer.

To do this, go to the DNS Manager in ISPConfig on ns2.erikturk.com and click on New Slave (remember, ns2.erikturk.com is our secondary name server).

Enter ifwolfpack.com as Title and Domain and specify ns1.erikturk.com's IP address (64.25.171.8) as DNS-Master IP:

That's all you have to do. The ifwolfpack.com zone will now be transferred from ns1.erikturk.com to ns2.erikturk.com automatically.


7 Do Some Testing

We have not specified ns1.erikturk.com and ns2.erikturk.com as the authoritative name servers for ifwolfpack.com in the GoDaddy interface yet. Nevertheless we can do some tests now to see that ns1.erikturk.com and ns2.erikturk.com resolve ifwolfpack.com correctly. You can do this on any of your Linux systems with the dig command. First we ask ns1.erikturk.com:

dig @ns1.erikturk.com any ifwolfpack.com

;  DiG 9.2.4  @ns1.erikturk.com any ifwolfpack.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31627
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;ifwolfpack.com. IN ANY

;; ANSWER SECTION:
ifwolfpack.com. 86400 IN SOA ns1.erikturk.com. hostmaster.erikturk.com. 2006060705 28800 7200 604800 86400
ifwolfpack.com. 86400 IN NS ns1.erikturk.com.
ifwolfpack.com. 86400 IN NS ns2.erikturk.com.
ifwolfpack.com. 86400 IN MX 10 mail.ifwolfpack.com.
ifwolfpack.com. 86400 IN A 64.25.171.8

;; ADDITIONAL SECTION:
ns2.erikturk.com. 172661 IN A 64.25.171.9
mail.ifwolfpack.com. 86400 IN A 64.25.171.8

;; Query time: 157 msec
;; SERVER: 64.25.171.8#53(ns1.erikturk.com)
;; WHEN: Wed Jun 7 18:43:12 2006
;; MSG SIZE rcvd: 193

dig @ns1.erikturk.com any www.ifwolfpack.com

;  DiG 9.2.4  @ns1.erikturk.com any www.ifwolfpack.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60393
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;www.ifwolfpack.com. IN ANY

;; ANSWER SECTION:
www.ifwolfpack.com. 86400 IN A 64.25.171.8

;; AUTHORITY SECTION:
ifwolfpack.com. 86400 IN NS ns1.erikturk.com.
ifwolfpack.com. 86400 IN NS ns2.erikturk.com.

;; ADDITIONAL SECTION:
ns2.erikturk.com. 172626 IN A 64.25.171.9

;; Query time: 149 msec
;; SERVER: 64.25.171.8#53(ns1.erikturk.com)
;; WHEN: Wed Jun 7 18:43:32 2006
;; MSG SIZE rcvd: 113

dig @ns1.erikturk.com any mail.ifwolfpack.com

;  DiG 9.2.4  @ns1.erikturk.com any mail.ifwolfpack.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45499
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;mail.ifwolfpack.com. IN ANY

;; ANSWER SECTION:
mail.ifwolfpack.com. 86400 IN A 64.25.171.8

;; AUTHORITY SECTION:
ifwolfpack.com. 86400 IN NS ns2.erikturk.com.
ifwolfpack.com. 86400 IN NS ns1.erikturk.com.

;; ADDITIONAL SECTION:
ns2.erikturk.com. 172606 IN A 64.25.171.9

;; Query time: 147 msec
;; SERVER: 64.25.171.8#53(ns1.erikturk.com)
;; WHEN: Wed Jun 7 18:43:44 2006
;; MSG SIZE rcvd: 114

The results look as expected. Now we check ns2.erikturk.com:

dig @ns2.erikturk.com any ifwolfpack.com

;  DiG 9.2.4  @ns2.erikturk.com any ifwolfpack.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19089
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;ifwolfpack.com. IN ANY

;; ANSWER SECTION:
ifwolfpack.com. 86400 IN SOA ns1.erikturk.com. hostmaster.erikturk.com. 2006060705 28800 7200 604800 86400
ifwolfpack.com. 86400 IN NS ns1.erikturk.com.
ifwolfpack.com. 86400 IN NS ns2.erikturk.com.
ifwolfpack.com. 86400 IN A 64.25.171.8
ifwolfpack.com. 86400 IN MX 10 mail.ifwolfpack.com.

;; ADDITIONAL SECTION:
ns2.erikturk.com. 172776 IN A 64.25.171.9
mail.ifwolfpack.com. 86400 IN A 64.25.171.8

;; Query time: 79 msec
;; SERVER: 64.25.171.9#53(ns2.erikturk.com)
;; WHEN: Wed Jun 7 19:02:22 2006
;; MSG SIZE rcvd: 193

dig @ns2.erikturk.com any www.ifwolfpack.com

;  DiG 9.2.4  @ns2.erikturk.com any www.ifwolfpack.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7173
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;www.ifwolfpack.com. IN ANY

;; ANSWER SECTION:
www.ifwolfpack.com. 86400 IN A 64.25.171.8

;; AUTHORITY SECTION:
ifwolfpack.com. 86400 IN NS ns2.erikturk.com.
ifwolfpack.com. 86400 IN NS ns1.erikturk.com.

;; ADDITIONAL SECTION:
ns2.erikturk.com. 172753 IN A 64.25.171.9

;; Query time: 76 msec
;; SERVER: 64.25.171.9#53(ns2.erikturk.com)
;; WHEN: Wed Jun 7 19:02:37 2006
;; MSG SIZE rcvd: 113

dig @ns2.erikturk.com any mail.ifwolfpack.com

;  DiG 9.2.4  @ns2.erikturk.com any mail.ifwolfpack.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58414
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;mail.ifwolfpack.com. IN ANY

;; ANSWER SECTION:
mail.ifwolfpack.com. 86400 IN A 64.25.171.8

;; AUTHORITY SECTION:
ifwolfpack.com. 86400 IN NS ns1.erikturk.com.
ifwolfpack.com. 86400 IN NS ns2.erikturk.com.

;; ADDITIONAL SECTION:
ns2.erikturk.com. 172733 IN A 64.25.171.9

;; Query time: 108 msec
;; SERVER: 64.25.171.9#53(ns2.erikturk.com)
;; WHEN: Wed Jun 7 19:02:49 2006
;; MSG SIZE rcvd: 114

Looks ok, too.


8 Change ifwolfpack.com's Authoritative Name Servers

(This step should always be done after you have created the appropriate DNS records on the new name servers! Some registries will complain if they do not find records for a domain on the new name servers.)

Now we must change the authoritative name servers in the GoDaddy interface. Up to now, GoDaddy's name servers are still responsible for ifwolfpack.com, and if a client asks for details about ifwolfpack.com, GoDaddy's name servers will answer. To change this, we check the checkbox in front of ifwolfpack.com in our domain list in the GoDaddy interface and click on Set Nameservers:

On the right, the Set Name Servers box loads. Mark Custom Name Servers and replace GoDaddy's name servers with ns1.erikturk.com (Name Server 1) and ns2.erikturk.com (Name Server 2). Then click on Save Changes:

The next screen confirms your changes and tells us that it can take up to 48 hours to propagate, i.e., it can take up to 48 hours until all clients start to ask ns1.erikturk.com and ns2.erikturk.com about ifwolfpack.com instead of the GoDaddy name servers.

So after 48 hours you can do the tests from chapter 7 again, but this time you can leave out @ns1.erikturk.com and @ns2.erikturk.com because ns1.erikturk.com and ns2.erikturk.com are now authoritative.

dig any ifwolfpack.com
dig any www.ifwolfpack.com
dig any mail.ifwolfpack.com

should now show the same results as in chapter 7.


9 Links

Share this page:

7 Comment(s)

Add comment

Comments

From: at: 2007-08-09 16:03:31

Hi, godaddy.com's domain management interface has been strongly modified, so maybe would be nice to update the how-to too. Some of the options and links are now in totally different places. Regards Piotr

From: Anonymous at: 2009-01-13 05:51:29

Godaddy changes the interface nearly every day, half the time I cannot see the Login area, but the principles stay the same, forget that, if anyone figures out Apache James with a dynamic IP or DynDns you got money!

From: manuel at: 2009-12-31 12:36:57

Hi ,

the ip adress in godaddy is the internal ip or the router ip ?

can tou help me ?

Thanks!

 

From: Anonymous at: 2010-03-02 22:45:09

Hi there,

Just wondering...

Isn't it enough to add the Own Name Servers in the Host Summary ?

Do Own Name Servers need to be added as A Records in Total DNS Control as well ?

Thanks...

From: cdmlb at: 2010-05-14 02:44:43

What is the point of even having your DNS servers if you still need to register ifwolfpack.com with godaddy?

I would think just registering your DNS servers with godaddy and registering ifwolfpack.com with your own DNS servers would be good enough.

The whole point of having your own DNS server is to register domains with your DNS server and with no one else's.

So you are still using godaddy are the DNS server if you need to register the domain with them, pointing to your own DNS server, and re-registering the domain with your own DNS servers.

It defeats the purpose, and you still endup having to pay for two domains and not just one.

Just use godaddy as your DNS server, and just point each domain you register anyways with godaddy to your web server.

If you are like using IIS with like windows server, each website has a host header name to identify what domain was visited and the correct website appears even do all domains point to the same webserver ip address.

I wish some one would show us or tell us what steps need to be taken to have our own DNS servers, we register the DNS servers on the internet prob with the ROOT server(s), and after that all the domains we would want would just be registered on our own DNS servers, and no one elses.

There has to be a way to pay for one domain, and have all other domains you want on your own servers and accessed from any place in the world, instead of paying for each domain.

How does it actualy all work, you go the ROOT server .
afther that you got the com ca org servers
after that you got the domain servers
after tht it hits the webserver

Are all websites in the entire world registered on every DNS server in the world, I don't think so, it's registered in at least 1 or 2 DNS servers only, that's it.

Thanks for putting up with me.

From: BMD Media Web Design at: 2012-11-06 05:27:24

This helped a lot, thanks!

 The screenshots can be updated, but still easy to understand (even better than a lot of Co-Lo and Datacenters Troubleshooting pages lol. 

From: at: 2009-12-10 01:58:56

This guide is very helpful. thank you so much.