[bind10-dev] zonemgr / notify out questions
Jeremy C. Reed
jreed at isc.org
Wed Sep 8 22:49:41 UTC 2010
I have lots of questions about zonemgr and notify in BIND 10...
1) In do_xfrin in xfrin.py
if ret == XFRIN_OK:
...
ret = XFRIN_OK
I don't see where "ret" was reset, so why set again?
2) In process_xfrin in xfrin.py
if conn.connect_to_master():
ret = conn.do_xfrin(check_soa)
server.publish_xfrin_news(zone_name, rrclass, ret)
What if xfrin can't ever connect to master? zone manager (and xfrout)
will never be notified? never removes from its tasks?
3) How can xfrin have a single setting for master_addr configuration (as
it seems like each zone could have different master)? (If I
misunderstand this, please explain so I can document.) What about
possibility of multiple master addresses for a single zone?
4) It also looks like master_port is a single setting. what if a custom
port is needed per zone?
5) For xfrin, what is the difference from "notify" command and
"refresh_from_zonemgr" command? I misunderstand comment in code about
it. Is this a TODO item that is not listed in TODO? (Maybe need a Trac
ticket?)
6) Does it make sense for zonemgr and xfrin to both have a command
"notify" with same name which has different meanings?
7) Why aren't "notify", "refresh", "refresh_from_zonemgr" shown as
available commands (via bindctl) for xfrin? Why not in xfrin's spec?
8) Why does xfrin code set default of master_addr to 127.0.0.1? How is
that useful for remote master? And why not also listed in spec? Why
isn't this shown in the bindctl's "config show Xfrin"?
9) Is it planned for zonemgr to have customizable configurations for
LOWERBOUND_REFRESH, LOWERBOUND_RETRY, MAX_TRANSFER_TIMEOUT,
REFRESH_OFFSET, RETRY_OFFSET, EXPIRED_OFFSET, and/or jitter?
10) Why isn't "zone_new_data_ready" available as command (via bindctl)
for xfrout? Why not in the xfrout spec?
11) Why aren't "notify", "zone_new_data_ready", and "zone_xfrin_failed"
listed as available commands (in bindctl) for zonemgr? Why not in
zonemgr's spec?
12) Any way to see the current counters/timers and other data for each
zone managed by zonemgr? Is this planned?
Jeremy C. Reed
ISC
More information about the bind10-dev
mailing list