LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Slave Dns Question (https://www.linuxquestions.org/questions/linux-networking-3/slave-dns-question-268887/)

kemplej 12-21-2004 02:33 PM

Slave Dns Question
 
I have 2 dns servers. ns1 works fine. ns2 gets the dns records fine from ns1. However when I make a change to dns on ns1 the slave dns on ns2 will not pick up the change. Am I missing something?

thanks
Justyn

amfoster 12-21-2004 03:21 PM

You must update the serial number on that master. That is how the slave knows about changes

kemplej 12-21-2004 05:00 PM

Serial #? Explain it to me like im stupid please

Xaque208 12-21-2004 05:04 PM

Serial number
 
The serail number is just an increment to show who has the latest data. I like to use yyyymmdd with an increment digit at the end.

amfoster 12-21-2004 05:09 PM

In your zone file, you have lines under the SOA line that are numbers. The first line is the serial number. Usually people use a date and serial number such as
2004122001 and increase the number whenever a change is made.

The second number down is the refresh rate. How often the slave should check for changes. It is usually annotated in seconds, but can have things like 1D for 1 day, 2Mo etc.

The 3rd number down deals with when the slave tries to connect to the master if it can't the first time.

The next number down is how much time before the slave gives up trying to connect to the master

Finally, The last number is how long the slaves info is good for if it can't update with the master.

Many bind examples have default numbers. You do need to up the serial number manually though. Redhat uses something simple like 1 2 3 4 etc, but as I said, most people use a date in there too.

kemplej 12-23-2004 01:58 PM

thank you that helps alot :)


All times are GMT -5. The time now is 04:10 AM.