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 03-03-2005, 09: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, 10:21 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
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, 10: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, 01: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 06:49 AM
BIND Zone file problems Ryan0rZ Linux - Software 1 10-14-2004 01:24 PM
Bind 9 - zone transfer using internal IP ? michael_util Slackware 1 03-25-2004 11:15 AM
Question about zone files.... (BIND) WeNdeL Linux - Newbie 1 01-24-2003 04:05 PM
Bind Zone files cbutler Linux - Networking 0 01-08-2002 04:41 PM


All times are GMT -5. The time now is 11:21 PM.

Main Menu
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