Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th June 2004, 03:17 PM
hookooekoo Offline
Registered User
 
Join Date: Jun 2004
Posts: 16
Tips on setting up slave dns?

Ok now that I got the master up and running, I must next get a slave going. I have never done this before, and not sure on a few things. Any hints or tips would be appreciated.

In the named.conf acl do you add the "other" server in both the slave and the master?

Obviously in the named.conf the zones are slave? and not master.

What do I do to tell the master to update the slave? Or the Slave to sycn with the master?

I should set the SOA one number higher in the master in the beginning?

Thanks.
Reply With Quote
  #2  
Old 28th June 2004, 01:14 AM
jeru Offline
Registered User
 
Join Date: May 2004
Location: Arizona
Posts: 119
I guess it all depends on how you want to do things, I have the same name servers for all of my domains so it's easy to configure default once and have it's configuration used from then on out.

So on the master, I would set something like; (and your slave you do the same type of thing since in reality, its just replication... but you probalby don't want my name servers to be able to grab your zone without your permission)

Code:
options {
        directory "/var/named";
        allow-transfer {
                xxx.xxx.xxx.xxx;
                xxx.xxx.xxx.xxx;
                };
        notify yes;
};
That will set it to only allow transfers from specific name servers, and notify the slaves by default. This implys that you have correctly added NS RRset's to the domains master record as it is where it gets the information about who to notify. Use something like "dig NS anyhost.com" to see examples of what I am talking about. Yours will look like everybody elses once you have it right.

Also the named will automagically sync by default... So if you don't do anything, your slave will just check for updates periodically. But as for a slave zone, on the secondary name server... Just add something like;

Code:
zone "example.com" {
        type slave;
        file "/var/named/example.com.hosts";
        masters {
                xxx.xxx.xxx.xxx;
                };
        };
to named.conf

To resync from the slave manually, you do something like this;

Code:
rndc reload example.com
"reload" or "refresh" to a slave does a serial-number (SOA) query, followed by a zone transfer if the SOA has incremented.

I'm a bit tired, so I hope I explained things decently.

Last edited by jeru; 28th June 2004 at 01:21 AM.
Reply With Quote
  #3  
Old 28th June 2004, 09:37 PM
hookooekoo Offline
Registered User
 
Join Date: Jun 2004
Posts: 16
Cool, thanks, should be able to figure it out from that.
Reply With Quote
Reply

Tags
dns, setting, slave, tips

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up offline network - tips for nameserver and updates/additions Inception Servers & Networking 8 10th February 2009 02:03 PM
Slave DNS danr Servers & Networking 1 5th November 2004 08:35 PM


Current GMT-time: 04:25 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat