Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Servers > views + master/slave in bind9

Forgot Password?
 Servers   Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 3 Weeks Ago   #1 (permalink)
Just Joined!
 
Join Date: Oct 2009
Posts: 3
views + master/slave in bind9

Im using centos 5.3
I cant get both my views to transfer to the slave. Only one is being transferd.
fisk4 is offline  


Reply With Quote
Old 3 Weeks Ago   #2 (permalink)
Linux Engineer
 
Lazydog's Avatar
 
Join Date: Jun 2004
Location: The Key Stone State
Posts: 1,187
Are both Slave and Master setup to allow the transfer?
__________________

Regards
Robert

Linux
The adventure of a life time.

Linux User #296285
Get Counted
Lazydog is offline   Reply With Quote
Old 3 Weeks Ago   #3 (permalink)
Just Joined!
 
Join Date: Oct 2009
Posts: 3
Yes, as i said i can transfer one of the view but not the other.
fisk4 is offline   Reply With Quote
Old 3 Weeks Ago   #4 (permalink)
Linux Engineer
 
Lazydog's Avatar
 
Join Date: Jun 2004
Location: The Key Stone State
Posts: 1,187
What do your named.conf files look like for both Master and Slave?
__________________

Regards
Robert

Linux
The adventure of a life time.

Linux User #296285
Get Counted
Lazydog is offline   Reply With Quote
Old 3 Weeks Ago   #5 (permalink)
Just Joined!
 
Join Date: Oct 2009
Posts: 3
master:

options {
directory "/var/named/";
recursion no;
notify yes;
allow-transfer {192.168.0.4;};
};

view "intern" {
match-clients {192.168.0.1; };
zone "dala.hk." {
type master;
file "data/intern/dala.hk.zone";

};

zone "0.168.192.in-addr.arpa" {
type master;
file "data/intern/1.0.168.192.in-addr.arpa";

};
};

view "extern" {
match-clients { any;};
zone "dala.hk" {
file "data/extern/dala.hk.zone";
type master;
};
};

#zone "0.168.192.in-addr.arpa." {
# type master;
# file "data/extern/1.0.168.192.in-addr.arpa";
#
#};




logging {
channel query.log {
file "/var/log/query.log";
severity dynamic;
};

category default {
query.log;
};
}


slave:

options {
directory "/var/named/";

};


view "intern" {
match-clients {192.168.0.1;};
zone "dala.hk." {
type slave;
file "intern";
masters { 192.168.0.1; };
};
};
view "extern" {
match-clients {any;};
zone "dala.hk." {
type slave;

file "extern";
masters {192.168.0.1; };

};
};

logging {
channel query.log {
file "/var/log/query.log";
severity debug 3;
};
category queries { query.log; };
};





#key 12 {
#algorithm hmac-md5;
#secret "12s3RvrjqaioiXCYK5lm0w==";
#};
fisk4 is offline   Reply With Quote
Old 3 Weeks Ago   #6 (permalink)
Linux Engineer
 
Lazydog's Avatar
 
Join Date: Jun 2004
Location: The Key Stone State
Posts: 1,187
Check that the directories that should host the file are writable by named.
Also run named-checkconf in the dir where named.conf is located for any errors.
__________________

Regards
Robert

Linux
The adventure of a life time.

Linux User #296285
Get Counted
Lazydog is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:47 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2