Simplify locking in dns_view_detach()
Lock just once, and shut down the resolver, adb, and requestmgr after unlocking, like the zone table, managed keys zone, and redirect zone.
Lock just once, and shut down the resolver, adb, and requestmgr after unlocking, like the zone table, managed keys zone, and redirect zone.