LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-18-2005, 03:09 AM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
nameserver Questions


Currently our web servers have 2 nameservers (as all do at least)

I set both ns1 and ns2 the same as each other, and in the registrar side I just point ns1 as primary, ns2 as the secondary

Is that the correct way?

I read that the 2nd one usually does reverse dns or something.. or is my understanding on this matter totally screwed?

also how do i set it such that it will always use ns1.. then refer to ns2 only when ns1 is down? or is there a need?
 
Old 08-18-2005, 05:54 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Yes, that will work..
Sometimes the dns server wil make a warning message loading your zone info if there are 2 identical records.. but it's not fatal.
A better idea is to have two different url names and the same ip address..

And best is a separate 2nd dns server..

There is no technical reason for having two..
It's just a policy based on the fact that the internet isn't a 100% up medium, so one of the dns servers will be unavailable sometime.. and coz dns is so vital it's a good policy.

Reverse dns needs to be handled by your ISP. It is their number block so their responsibility to show correct reverse records.
 
Old 08-18-2005, 06:29 AM   #3
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
oh sorry i haven't been cleared

my 2 dns servers, are 2 separate physical servers

what i mean the same as each other, is the settings for zone files

is there a need to specify in the zone files which is secondary which is primary?
 
Old 08-18-2005, 07:13 AM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
No need..
The dns server will usually rotate the list.
Some even determine the order by the source ip address of the pc requesting the info..

Slave and Master exist for dns servers to allow changes on the Master to be propogated to the slave servers when a zone is refreshed..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which is my nameserver. bruse Linux - Networking 3 07-16-2005 01:45 AM
Nameserver on different domain? greyhammer Linux - Networking 5 01-06-2005 07:31 AM
NameServer Probs .... Ma2LeY Linux - Networking 2 01-28-2004 03:48 AM
How to Setup a Nameserver dcdjservices Linux - Networking 1 08-01-2003 04:42 PM
having nameserver problems DigiCrime Linux - Networking 12 03-01-2003 04:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration