anchor.diff:      _ -> {reply, {error, zone_not_found}, State}
     end;
   
  +%% @doc Get a zone from the cache by name. Include record data.
  +%% Currently this is only used for administrative purposes.
   handle_call({get_zone_with_records, Name}, _From, State) ->
     NormalizedName = normalize_name(Name),
     case ets:lookup(zones, NormalizedName) of
  
positive.code:     [] -> {error, zone_not_found};
      [_] -> {error, zone_not_found};
      [_|Labels] ->
        case get_zone(Name) of
          {ok, Zone} -> Zone;
          {error, zone_not_found} ->
            case Name =:= Authority#dns_rr.name of
  
negative.code:       %lager:debug("get_delegations, failed to get zone for ~p: ~p", [Name, Response]),
        {reply, Response, State}
    end;
  
  handle_call({get_records_by_name, Name}, _From, State) ->
    case find_zone_in_cache(Name, State) of
  