The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 master and slave nameserver
Author: Matt 
Date:   21-12-01 11:55

Hi,

Currently i running ns1.foo.com and ns2.foo.com as all of my website nameserver.

Now, i m going to setup a slave name server ns3.foo.com and ns4.foo.com for redundancy.

This the the slave nameserver's named.conf

##########
options {
pid-file "/etc/namedb/named.pid";
directory "/etc/namedb";
listen-on {
127.0.0.1;
3.3.3.3; //slave ns3
4.4.4.4; //slave ns4
};
allow-query {
127.0.0.1;
3.3.3.3; //slave ns3
4.4.4.4; //slave ns4
2.2.2.2; //master ns2
1.1.1.1; //master ns1
};
allow-transfer {
127.0.0.1;
3.3.3.3; //slave ns3
4.4.4.4; //slave ns4
2.2.2.2; //master ns2
1.1.1.1; //master ns1
};
allow-recursion {
127.0.0.1;
3.3.3.3; //slave ns3
4.4.4.4; //slave ns4
2.2.2.2; //master ns2
1.1.1.1; //master ns1
};
};


zone "foo.com" {
type slave;
file "/etc/namedb/foo.com.db";
masters {
1.1.1.1;
};
allow-query {
any;
};
};

###################


How can i verify the ns3 and ns4.foo.com is running correctly?

I tried dig @ns3.foo.com www.foo.com, but fail..
and dig @ns1.foo.com www.foo.com is successfully

What i need is all my domain name assigned with ns1 and ns3.
When ns1 is down, the site still can be reach, because ns3 is running as "backup" for the sites



any help is appreciated.
-MaTT

Reply To This Message
 
 Re: master and slave nameserver
Author: milkdady 
Date:   23-12-01 04:08

foobar

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org