Visit Our UNIX and Linux User Community


Synchronizing primary and secondary name servers


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Synchronizing primary and secondary name servers
# 1  
Old 10-29-2008
Synchronizing primary and secondary name servers

Hello All,

Does some one know how to synchronize the primary name server with the secondary without knowing the domains on which synchronization failed.

I have just done /usr/sbin/ndc reload

Alternatively how do i find out the domains on which synchronization failed?
# 2  
Old 10-30-2008
How do you know they didn't sync.?

You don't sync the master with the salve but the slave with the master.
Check the config on the slave to see what it believes are the zones it receives from the master.

The serial numbers in the zones files will tell you if they updated or not. They should be the same as on the master.
# 3  
Old 10-30-2008
Well, here is what I did; I randomly took a domain.

1. Saw that the A record on slave was not Synched with the master.
2. Forcefully Synched the A record of the domain on the Slave in accordance with the master.

What logs can I access on the Master to see all domains that are not Synched with Slave?

Additionally, when you say "check the config on the slave to see what it believes are the zones it receives from the master" could you elaborate a bit further.

I am a beginner; learning every day. I could understand what you have mentioned about the serial numbers.

Thanks for your time Smilie
# 4  
Old 10-31-2008
Quote:
Originally Posted by a2z1982
Well, here is what I did; I randomly took a domain.

1. Saw that the A record on slave was not Synched with the master.
2. Forcefully Synched the A record of the domain on the Slave in accordance with the master.
How did you do this?
The proper way would have been to update the serial number on the master and see if that updates the slave.

Quote:
What logs can I access on the Master to see all domains that are not Synched with Slave?
That would all depend on what youe are logging and how you are logging it.
Without knowing the config for logging I really cannot say.


Quote:
Additionally, when you say "check the config on the slave to see what it believes are the zones it receives from the master" could you elaborate a bit further.
Sure. On the slave look at named.conf

In the file there should be something like this:

Code:
   zone "example.com" in {
   type slave;
   file "example.com.db";
   masters { <Master's IP>; };

In the above you will be looking at the master line. This tells you which server the updates come from.

Quote:
I am a beginner; learning every day. I could understand what you have mentioned about the serial numbers.

Thanks for your time Smilie
Everyone is a beginner at one point or another.
Glad I could help.

Here are some good books to read on DNS

DNS and BIND
DNS and Bind Cookbook
# 5  
Old 11-01-2008
Quote:
Originally Posted by Lazydog
How did you do this?
The proper way would have been to update the serial number on the master and see if that updates the slave.

That would all depend on what youe are logging and how you are logging it.
Without knowing the config for logging I really cannot say.


Sure. On the slave look at named.conf

In the file there should be something like this:

Code:
   zone "example.com" in {
   type slave;
   file "example.com.db";
   masters { <Master's IP>; };

In the above you will be looking at the master line. This tells you which server the updates come from.

Everyone is a beginner at one point or another.
Glad I could help.

Here are some good books to read on DNS

DNS and BIND
DNS and Bind Cookbook
*************

Thanks again!!
 

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

DNS Primary and Secondary

hi there, i using salaris 10 as my DNS server. i have 2 dns server primary and secondary. if primary dns server i edit/update, the other secondary dns server must be sync too. How can i configure if dns server (primary) can sync the secondary? (1 Reply)
Discussion started by: tappetmus
1 Replies

2. AIX

How to find Primary & Secondary VIOS?

Hi, In a Dual VIOSs setup having 4 SEA adapters each, how to find which one is Primary and Secondary.? Regards, Siva (2 Replies)
Discussion started by: ksgnathan
2 Replies

3. Linux

Secondary linux dist WITHIN primary one

Hi New here so forgive my ignorance and inability to express myself in an informative manner ;) I have a Fedora distribution installed on my development computer. The system we build is meant to run on a slackware dist which is all fine and well. But due to our flow of deployment I would have... (2 Replies)
Discussion started by: inquam
2 Replies

4. Shell Programming and Scripting

List ALL users in a Unix Group (Primary and Secondary)

Is there a command or better combination of cmds that will give me the list of Unix users in a particular Unix group whether their primary group is that group in question (information stored in /etc/passwd) or they are in a secondary group (information stored in /etc/group). So far all I got... (5 Replies)
Discussion started by: ckmehta
5 Replies

5. Filesystems, Disks and Memory

shift hard disk from primary IDE channel to secondary IDE channal

Wellcomes All, some times ago I 've installed a Debian ditribution on an Hard Disk who was set as Primary Master. Few days ago, I 've decided to install another Hard Disk with a different Operating System. When I did that, I turned off the old hard disk, and I mouted the new one on the Primary IDE... (1 Reply)
Discussion started by: thekarsillo
1 Replies

6. UNIX for Advanced & Expert Users

Passing the values to the secondary script when it invoked by primary script

Hi, When I invoke a script s1.sh it will call an another script s2.sh by itself. This script s2.sh will call some java files, so while running the script it asks for a file name to be processed. Which we can see in the screen. The file name to be processed is present in script s1.sh Now I... (2 Replies)
Discussion started by: venu_eie
2 Replies

7. Shell Programming and Scripting

Passing the values to the secondary script when it invoked by primary script

Hi, When I invoke a script s1.sh it will call an another script s2.sh by itself. This script s2.sh will call some java files, so while running the script it asks for a file name to be processed. Which we can see in the screen. The file name to be processed is present in script s1.sh Now... (1 Reply)
Discussion started by: venu_eie
1 Replies

8. UNIX for Advanced & Expert Users

primary-secondary sync problem

hi guys, i am new to this DNS business and i'm having a problem. the setup is bind 9.2.3 is installed on a sun solaris 8 server and is the primary DNS. men and mice suite is installed on another sun solaris 8 and that is our secondary DNS server. problem is recently the secondary DNS stopped... (0 Replies)
Discussion started by: mbannout
0 Replies

9. UNIX for Advanced & Expert Users

Regarding Synchronizing 2 CVS.

Hi As a System Admin, I have to handle synchronzing 2 CVS. But I'm new to CVS & hardly have any knowledge of such tools. Please help me, is there any way, that can automatize the process for synchronizing the 2 remotely residing CVS database with out manual intervension. Ex:- CVA... (1 Reply)
Discussion started by: S.Vishwanath
1 Replies

10. UNIX for Dummies Questions & Answers

How to find All Primary and Secondary Group ID's for a user

Is there any command which can list me all the Group ID's (Primary, Secondary ) assocaited with a single user. Thanks Sanjay (2 Replies)
Discussion started by: sanjay92
2 Replies

Featured Tech Videos