LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-29-2006, 10:07 PM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
DNS Server: Master/Slave


Hi guys,

as you know when we register a domain name, we are required to specify the nameserver(s).

Usually we have at least 2. 1st and 2nd DNS server.

Some questions:

1) Are they meant to be configured as Master on both, or Slave on one?

2) Does it mean DNS request for my websites' name will be random? It will either query 1st or 2nd.

Or does it mean it will query the 2nd server only when the 1st goes down?

3) currently i have 2 DNS servers, but the zone files are identical, in that

Quote:
zone "mydomain.com"{
type master;
file "zone/mydomain.com";
};
there's no "notify" and "allow-query"
is it correct?

also.. the type is master for both. this is in relation to q1. should there be a 'slave'?

Many thanks!
 
Old 06-30-2006, 12:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
1) doesn't matter, master / slave would be logical, but doesn't matter really at all

2) normally you'd query the first one first, but this can't be guarenteed

3) ideally there should be a slave, so will just do full zone transfers from the first, but if you're happy manually updating both, then thats fine.
 
Old 06-30-2006, 04:29 AM   #3
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
ooh i see... so as long i have the zone files, master or slave it doesn't matter?

one more thing..
I realise in FC4 (am using RHEL3 for the current DNS servers) there's a chroot directory and i have to put the zone files there for it to start with no errors... normal?
 
Old 06-30-2006, 04:58 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
running a nameserver inside a chroot jail is a very good idea, as if someone could somehow open a shell via an attack on it, you'd only have a chrooted environment to break.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[ DNS ] - Master and Slave in one machine with 2 eth? maginotjr Linux - Networking 1 12-06-2005 08:08 AM
Master/Slave server DNS emailssent Linux - Networking 2 10-04-2004 03:21 AM
Tranferring Zones, Master to Slave, DNS - BIND newpylong Linux - Networking 0 09-02-2004 08:01 AM
DNS Slave not getting zones from master tysonh04 Fedora 1 06-06-2004 05:10 PM
dns master slave trust relationship how? ferret_dude Linux - Networking 1 05-24-2004 06:05 AM

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

All times are GMT -5. The time now is 06:30 PM.

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