Always lock the dbtable when operating on it.
Attach and detach from the db. Simplify the API by not requiring the name to be specfied for add and remove, and by not requiring the db to be specified for removedefault. Calls to dns_rbt_findname were failing because stored_data was not initialized to NULL.
Showing with 73 additions and 42 deletions