Opened 7 years ago

Closed 5 years ago

#2453 closed task (wontfix)

immediate feedback when mistyping zone name with Auth loadzone

Reported by: jelte Owned by:
Priority: medium Milestone: DNS Outstanding Tasks
Component: b10-auth Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DNS Feature Depending on Ticket:
Estimated Difficulty: 3 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

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.

Subtickets

Change History (3)

comment:1 Changed 7 years ago by shane

  • Milestone changed from New Tasks to Next-Sprint-Proposed

comment:2 Changed 6 years ago by stephen

  • Milestone set to DNS Outstanding Tasks

comment:3 Changed 5 years ago by tomek

  • Resolution set to wontfix
  • Status changed from new to closed

DNS and BIND10 framework is outside of scope for Kea project.
The corresponding code has been removed from Kea git repository.
If you want to follow up on DNS or former BIND10 issues, see
http://bundy-dns.de project.

Closing ticket.

Note: See TracTickets for help on using tickets.