Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 07-01-2004, 02:37 PM   #1
BlackElf
Confirmed User
 
Join Date: Jun 2004
Location: email: exhelp(AT)bibar|DOT|com
Posts: 1,171
What is the difference between Primary and Secondary DNS ?

Hi,

I'm setting up my new server amd I just noticed this switch (here is the help on the switch from plesk 7.0.3) :
Switch - Allows to switch between Primary and Secondary DNS Zones - in order to provide users with capability of using Plesk as Primary as well as Secondary DNS Server for the hosted domains. DNS is set as Primary by default when the domain is set up. Afterwards, in the DNS section, clicking on the Switch button you can change it to Secondary by entering several Primary servers' IP-addresses at the same time.


Thanks
__________________
exhelp AT bibar | DOT | com (please include your ICQ when emailing me)
What ppl say about BlackElf
BlackElf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-02-2004, 07:54 AM   #2
BlackElf
Confirmed User
 
Join Date: Jun 2004
Location: email: exhelp(AT)bibar|DOT|com
Posts: 1,171
Is there anyone that can help?
__________________
exhelp AT bibar | DOT | com (please include your ICQ when emailing me)
What ppl say about BlackElf
BlackElf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-02-2004, 07:56 AM   #3
teleblade69
Confirmed User
 
Join Date: Nov 2003
Location: Belgium
Posts: 1,063
if the first one crashes you will have a backup nameserver that's why you have multiple DNS. Iguess...



tb
__________________
teleblade69 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-02-2004, 11:39 AM   #4
dgraf
Confirmed User
 
Join Date: Jun 2004
Posts: 133
In the DNS terminology "secondary" does not mean "backup". It means exactly what the name says. Both name servers can be queried independently. Which server is queried as the first by the client side resolver is upon it. Unlike e.g. backup mail server. The difference between primary and secondary nameservers is that the primary nameserver has the zone configuration that the secondary one downloads from it.
dgraf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-02-2004, 10:50 PM   #5
Gruntled
Confirmed User
 
Join Date: Aug 2003
Location: Atlanta, GA
Posts: 358
Micha,

The DNS records are the same on the primary and the secondary DNS machines. Usually, a host will set everyone to use the primary first, the n the secondary in case the primary is down, rebooting, etc.

When the host starts to grow very large, all of the domain lookups are going to the primary DNS machine, where the secondary machine is sitting around, twiddling its thumbs. So, many people like to swap their DNS to use the secondary first, hoping to get their surfers to the site slightly faster.

That's the idea, anyway. The DNS lookup is fractions of a second for the surfer, but spreading the workload more evenly for the DNS servers isn't a bad idea, either. It's personal preference, and a tweak that could save precious microseconds for your consumers.

HTH
__________________
Gruntled is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-03-2004, 12:25 AM   #6
BlackElf
Confirmed User
 
Join Date: Jun 2004
Location: email: exhelp(AT)bibar|DOT|com
Posts: 1,171
Thanks for the input
__________________
exhelp AT bibar | DOT | com (please include your ICQ when emailing me)
What ppl say about BlackElf
BlackElf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-03-2004, 06:49 AM   #7
dgraf
Confirmed User
 
Join Date: Jun 2004
Posts: 133
Quote:
Originally posted by Gruntled
Micha,

When the host starts to grow very large, all of the domain lookups are going to the primary DNS machine, where the secondary machine is sitting around, twiddling its thumbs. So, many people like to swap their DNS to use the secondary first, hoping to get their surfers to the site slightly faster.

HTH
Once more -- it is not true. Secondary nameserver is not a backup nameserver. Both nameservers (or more) are replying the queries because they are queried randomly -- depends on the algorithm of resolver library on the client side, which one is queried the first. So if you run two nameservers and the secondary nameserver is not running you are in troubles because some clients queried secondary nameserver first.

It can be simply proved. If you have access to both -- primary and secondary nameserver which are authoritative for the same zone, turn the query logs on and compare them. You will see that the secondary nameserver is getting decent percentage of the clients' queries directly -- independently on the fact if primary nameserver is running or not.
dgraf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.