LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 03-03-2005, 10:56 AM   #1
macadam
Member
 
Registered: Sep 2003
Posts: 72

Rep: Reputation: 15
bind slave zone


Hello.

I am a bit confused with bind.
I have started another server on an other network.
I thought that by creating a slave zone on one of the bind server, both nameservers would be authoritative for that zone.
It seems that it is not the case.
The 'slave' zone can not answer to dns requests.
So I created a master zone iso a slave zone on the second bind and now everything is fine...however, is there a quick way to automatically modify the second zone if I change the first one?

Regards,

macadam
 
Old 03-03-2005, 11:21 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
You must include in /etc/named.conf (or wherever is your named.conf) the "type slave" and the masters {xx.xx.xx.xx} statements, where xx.xx.xx.xx is your primary DNS IP address. Example
Code:
zone "abc.com" {
        type slave;
        file "abc.zone";
        masters {xx.xx.xx.xx;};
Of cource in the named.conf of your primary you must include
Code:
allow-transfer {yy.yy.yy.yy}
where yy.yy.yy.yy is your secondary DNS IP address
 
Old 03-03-2005, 11:25 AM   #3
macadam
Member
 
Registered: Sep 2003
Posts: 72

Original Poster
Rep: Reputation: 15
hello.

That's what i did, and the slaving was perfect.
However, asking a nslookup...no answer from the 'slave' server.
Considered as a lame server!
 
Old 03-03-2005, 02:46 PM   #4
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: SuSE (x86), NetBSD (Sparc), Solaris (Sparc & 32-bit x86)
Posts: 278

Rep: Reputation: 30
Did you update the whois/root server list to reflect the additional server?
 
  


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
Bind DNS Slave zone macadam Linux - Networking 2 03-02-2005 07:49 AM
BIND Zone file problems Ryan0rZ Linux - Software 1 10-14-2004 02:24 PM
Bind 9 - zone transfer using internal IP ? michael_util Slackware 1 03-25-2004 12:15 PM
Question about zone files.... (BIND) WeNdeL Linux - Newbie 1 01-24-2003 05:05 PM
Bind Zone files cbutler Linux - Networking 0 01-08-2002 05:41 PM


All times are GMT -5. The time now is 10:54 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration