BIND 10 #2453: immediate feedback when mistyping zone name with Auth loadzone
BIND 10 Development
do-not-reply at isc.org
Fri Nov 2 10:11:27 UTC 2012
#2453: immediate feedback when mistyping zone name with Auth loadzone
---------------------------------+-----------------------------------------
Reporter: jelte | Owner:
Type: task | Status: new
Priority: medium | Milestone: New Tasks
Component: b10-auth | Keywords:
Sensitive: 0 | Defect Severity: N/A
Sub-Project: DNS | Feature Depending on Ticket:
Estimated Difficulty: 0 | Add Hours to Ticket: 0
Total Hours: 0 | Internal?: 0
---------------------------------+-----------------------------------------
Now that zones are (re)loaded in the background, the system may seem to
succesfully load a zone when doing 'Auth loadzone <non-existent zone>' in
bindctl. It does log an error, but it would be much better to check
immediately.
The proposal is to factor out the initial code from doLoadZone() in
datasrc_clients_mgr.h, and call it both in doLoadZone, and in the loadZone
that does the other checks (but only to see if the zone is known). This
means doing the lookup twice, but for a loadzone command, I do not believe
that this overhead is so much we should not check.
Note that the clients map probably needs to be locked.
--
Ticket URL: <http://bind10.isc.org/ticket/2453>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list