?
Solved

DNS Server Setup

Posted on 2009-07-15
15
Medium Priority
?
328 Views
Last Modified: 2012-05-07
I have one DNS server up & working fine hosting many domains.
I would like to setup a new server in parallel to this DNS server under differnent ISP.

I would like to know to setup a DNS server what are the basic necessary things required or should i consider for setting up the DNS server.

0
Comment
Question by:SrikantRajeev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 7
15 Comments
 
LVL 71

Expert Comment

by:Chris Dent
ID: 24867646

Typically you will have one Primary DNS Server and a number (one or more) Secondary DNS Servers. The Secondary DNS servers take a copy of a zone from the Primary server (Zone Transfer).

If Zone Transfers are not permitted then you would have to maintain two separate copies of the same zone. Making sure the two match manually. That's not ideal because it's rather more work (and has more room for something to be wrong).

There are a few rules that should be obeyed:

1. All Authoritative DNS servers should be listed in the NS Records
2. All Name Servers used should be listed at the parent (set with your domain registrar)

Will you be managing the DNS Server yourself? Or are you paying for a hosting solution?

Chris
0
 
LVL 1

Author Comment

by:SrikantRajeev
ID: 24945775
Hi Chris

I will be managing the servers by myself. I am planning for 2 servers 1 is primary & the 2nd will be the secondary. It will be installed under ISP2 network. For setting up these servers what should i ask frolpm the ISP2 & what help will be required from them.
I will be using the exixting domains which is currenlty used. All the services are running under the ISP1 network. Currentky I have A record , NS record & Cname  . I will be maintaing the same,
Like for MX record i need to do delegation should i cater any thing like this from my both ISPs to have this done. I will be using 2 servers with linux & BIND latest version
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 24954186

It depends, from your previous pictures they were just providing the connection, is that correct?

If so, for forward lookup ISP2 don't need to do anything. You will need to modify the NS records listed with your registrar so the server on ISP2 is used in addition to the server at ISP1.

That differs from reverse lookup if you're going to manage it, that needs to be delegated as per our previous discussions on this.

Chris
0
Bringing Advanced Authentication to the SMB Market

WatchGuard announces the acquisition of advanced authentication provider, Datablink, with one mission – to bring secure authentication to SMB, mid-market, and distributed enterprises with a cloud-based solution, ideal for resale via their established channel & MSSP community.

 
LVL 1

Author Comment

by:SrikantRajeev
ID: 24957179
My current DNS entry for NS  is
                IN      NS      mydnshostname1.abc.com.
                IN      NS      mydnshostname2.abc.com.
                IN      NS      ISP1DNS1.
                IN      NS      ISP1DNS2.

So I need to change as below. Let me know if this is right.

                IN      NS      mydnshostname1.abc.com.
                IN      NS      mydnshostname2.abc.com.
                IN      NS      ISP1DNS1.
                IN      NS      ISP1DNS2.
                IN      NS      ISP2DNS1.
                IN      NS      ISP2DNS2.



0
 
LVL 1

Author Comment

by:SrikantRajeev
ID: 24957180
yes they are just providing the connection. But they can also provide secondary DNS functionality
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 24958690

Okay, makes sense.

Your NS records look good, I guess all of those servers will be listed on the parent (with your registrar)? Or do they only allow you to list two?

You should also have glue for your name servers in there. At least some of the A records are out-of-zone data, but Glue is only handed out when NS records are requested to save further lookups.

Chris
                IN      NS      mydnshostname1.abc.com.
                IN      NS      mydnshostname2.abc.com.
                IN      NS      ISP1DNS1.
                IN      NS      ISP1DNS2.
                IN      NS      ISP2DNS1.
                IN      NS      ISP2DNS2.
 
; Glue for NS Records
mydnshostname1.abc.com.  IN A  1.2.3.4
mydnshostname2.abc.com.  IN A  1.2.3.5
ISP1DNS1.  IN A  2.3.4.5
ISP1DNS2.  IN A  2.3.4.6
ISP2DNS1.  IN A  3.4.5.6
ISP2DNS2.  IN A  3.4.5.7

Open in new window

0
 
LVL 1

Author Comment

by:SrikantRajeev
ID: 24958768
Your NS records look good, I guess all of those servers will be listed on the parent (with your registrar)? Or do they only allow you to list two?

I am not sure of it . Should i ask my ISP1 regarding this.

Regarding A record i will take care to include all the currently available A record
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 24958777

If ISP1 are who maintain the domain registration for you yes.

You should be able to have up to 13 DNS servers listed, more than enough room to cover those mentioned above.

Chris
0
 
LVL 1

Author Comment

by:SrikantRajeev
ID: 24958820
yes ISP 1 is maintaining the domain registration.

u have mentioned that i need to include 13 DNS servers . Instead of that can i list the DNS servers of  my second ISP < ISP2>
WIll it help
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 24958878

Not quite, the maximum you could include is 13 (limitations on UDP packet size, or why there are 13 root DNS servers). Those you have are more than enough :)

Chris
0
 
LVL 1

Author Comment

by:SrikantRajeev
ID: 24967386
I am planning to install the new DNS servers in parallel to the existing DNS server for the smmoth phasing out of the old server.
My plan is install the new server under the ISP2 network. We have multiple zone files in our existing DNS server.
Move only 1 Zone under this newly setup DNS server.
The zone file will have the following.

                IN      NS      mydnshostname1.abc.com.
                IN      NS      mydnshostname2.abc.com.
                IN      NS      ISP1DNS1.
                IN      NS      ISP1DNS2.
                IN      NS      ISP2DNS1.
                IN      NS      ISP2DNS2.
 
; Glue for NS Records
mydnshostname1.abc.com.  IN A  1.2.3.4
mydnshostname2.abc.com.  IN A  1.2.3.5
ISP1DNS1.  IN A  2.3.4.5
ISP1DNS2.  IN A  2.3.4.6
ISP2DNS1.  IN A  3.4.5.6
ISP2DNS2.  IN A  3.4.5.7
Internet DNS IN A 1.1.1.1

In case of shifting the MX record ISP2 should provide the delegation.

Please let mw know if i am right
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 24967936

The MX will appear in the file you have above as below.

Remember that Forward Lookup Zones follow the delegation path from root to top level domain (.com, .net, etc) to your own name servers. ISP2 isn't involved in that delegation path at all.

All you need to do is ensure the MX entry is correct in the zone file.

Chris
                IN      NS      mydnshostname1.abc.com.
                IN      NS      mydnshostname2.abc.com.
                IN      NS      ISP1DNS1.
                IN      NS      ISP1DNS2.
                IN      NS      ISP2DNS1.
                IN      NS      ISP2DNS2.
 
; Glue for NS Records
mydnshostname1.abc.com.  IN A  1.2.3.4
mydnshostname2.abc.com.  IN A  1.2.3.5
ISP1DNS1.  IN A  2.3.4.5
ISP1DNS2.  IN A  2.3.4.6
ISP2DNS1.  IN A  3.4.5.6
ISP2DNS2.  IN A  3.4.5.7
Internet DNS IN A 1.1.1.1
 
; MX Record
@               IN      MX   10   mail.domain.com.

Open in new window

0
 
LVL 1

Author Comment

by:SrikantRajeev
ID: 25002556
Hi Chris - How to make one server as primary & the other server as secondary.
Is this DNS settgins to make one server as primary & the other server as secondary
0
 
LVL 71

Accepted Solution

by:
Chris Dent earned 2000 total points
ID: 25011929

It'll be in named.conf in the zone definition.

Chris
0
 
LVL 1

Author Closing Comment

by:SrikantRajeev
ID: 31604073
Thanks
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question