Jerry
|
ed8dfff751
fix a typo error
|
il y a 14 ans |
Jerry
|
646dd51b96
modify zonemgr code and unittest according to review opinions
|
il y a 14 ans |
Likun Zhang
|
1dbc5bfda3
Add standard ISC file header comments. and add check for soa rrset in case it doesn't exist.
|
il y a 14 ans |
Likun Zhang
|
a9be5b02f2
1. Identify one zone with its name and class. 2. Avoid check the rcode of notify reply, since if we get the reply from the slave, it means the slave has get the notify message.
|
il y a 14 ans |
Jerry
|
1b0b4025ce
add run_timer unittest
|
il y a 14 ans |
Jerry
|
a18b4e4fcd
delete duplicate code
|
il y a 14 ans |
Likun Zhang
|
0ef9c38633
rescan the timer when one zone transfer fail or success.
|
il y a 14 ans |
Likun Zhang
|
367c6a2c47
change for auth: change the parameter name from 'rrclass' to 'zone_class', set the default master and port is '127.0.0.1' and 53, refactor the code for processing command 'notify' and 'refresh/retransfer', rename the command sent from zonemgr to 'refresh_from_zonemgr'
|
il y a 14 ans |
Jerry
|
20355243ac
fix a minor typo and add some code comments
|
il y a 14 ans |
Jerry
|
5284878ad2
refine zonemgr info map and unittest
|
il y a 14 ans |
Likun Zhang
|
a10e034168
Let auth module send notify command to zone manager.
|
il y a 14 ans |
Likun Zhang
|
73454d968d
Update the unittest code of xfrin.
|
il y a 14 ans |
Likun Zhang
|
c029db4fbf
Refactor the code of xfrin and add config item 'masters' to xfrin, make sure when xfrin get the notify command from zone manager, the zone transfer will be triggered.
|
il y a 14 ans |
Jerry
|
447bebe7bd
using socketpair to communicate between threads
|
il y a 14 ans |
Likun Zhang
|
4f89464cbe
Enable user to specify the zone class for command 'retransfer'.
|
il y a 14 ans |
Jerry
|
1f7e5114e2
modify command names
|
il y a 14 ans |
Jerry
|
999d53dce9
merge secondary manager and notifyout
|
il y a 14 ans |
Likun Zhang
|
59fff9f7c1
Also send the 'xfrin_failed' command to zone manager when xfrin failed, so that zone manager can reset the zone timer.
|
il y a 14 ans |
Likun Zhang
|
e0e5e396c1
When zone transfer finishing, it will send the same command to zone manager and xfrout module, so the zone manager can reset the timer for the next refresh, and xfrout module will notify the zones' slaves.
|
il y a 14 ans |
Likun Zhang
|
81c8e9f5a5
Merge the code from trunk to trac289
|
il y a 14 ans |
Likun Zhang
|
c7769f6183
Remove unused print and append the character '.' to the zone name which doesn't end with it.
|
il y a 14 ans |
Likun Zhang
|
ea33f60613
commit the code of notify-out. TODO:merge the code of secondary manager(in branch 215) to this branch, so that it's easy do the test.
|
il y a 14 ans |
Jerry
|
056285a5d6
Finish secondary manager code and unittest
|
il y a 14 ans |
JINMEI Tatuya
|
0043299b12
removed redundant null checks before delete.
|
il y a 14 ans |
JINMEI Tatuya
|
f7d5d843a8
cleanup: removed unnecessary lexical_cast.
|
il y a 15 ans |
JINMEI Tatuya
|
3cc88bfa25
cleanup: removed <config.h> because we don't use UNUSED_PARAM in this file.
|
il y a 15 ans |
JINMEI Tatuya
|
92a667282e
cleanup: removed <config.h> because we now don't use UNUSED_PARAM.
|
il y a 15 ans |
JINMEI Tatuya
|
4c3dd96dbe
constify.
|
il y a 15 ans |
JINMEI Tatuya
|
c982ccbbda
added a brief comment about unistd.h
|
il y a 15 ans |
JINMEI Tatuya
|
c2258c4e0b
worked around another brokenness of sunstudio.
|
il y a 15 ans |