The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
shift hard disk from primary IDE channel to secondary IDE channal thekarsillo Filesystems, Disks and Memory 1 09-29-2008 04:20 PM
Passing the values to the secondary script when it invoked by primary script venu_eie UNIX for Advanced & Expert Users 2 07-03-2008 08:10 AM
Passing the values to the secondary script when it invoked by primary script venu_eie Shell Programming and Scripting 1 07-03-2008 07:16 AM
primary-secondary sync problem mbannout UNIX for Advanced & Expert Users 0 04-15-2008 06:52 AM
How to find All Primary and Secondary Group ID's for a user sanjay92 UNIX for Dummies Questions & Answers 2 03-27-2002 02:35 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-29-2008
a2z1982 a2z1982 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 6
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 (permalink)  
Old 10-30-2008
Lazydog's Avatar
Lazydog Lazydog is offline
Registered User
  
 

Join Date: Oct 2008
Location: Chester Co., PA
Posts: 73
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 (permalink)  
Old 10-30-2008
a2z1982 a2z1982 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 6
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
  #4 (permalink)  
Old 10-31-2008
Lazydog's Avatar
Lazydog Lazydog is offline
Registered User
  
 

Join Date: Oct 2008
Location: Chester Co., PA
Posts: 73
Quote:
Originally Posted by a2z1982 View Post
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
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 (permalink)  
Old 11-01-2008
a2z1982 a2z1982 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 6
Quote:
Originally Posted by Lazydog View Post
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!!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0