anchor.diff:    case find_zone_in_cache(Name) of
       {ok, Zone} ->
         lists:flatten(erldns_storage:select(zone_records_typed, [{{{erldns:normalize_name(Zone#zone.name), erldns:normalize_name(Name), Type}, '$1'},[],['$$']}], infinite));
  -    _ ->
  -      []
  -  end.
  -
  -%% @doc Get all records for given FQDN from zone_records_typed.
  --spec get_typed_records_by_name(dns:dname()) -> [dns:rr()].
  -get_typed_records_by_name(Name) ->
  -  case find_zone_in_cache(Name) of
  -    {ok, Zone} ->
  -      lists:flatten(erldns_storage:select(zone_records_typed, [{{{erldns:normalize_name(Zone#zone.name), erldns:normalize_name(Name), '_'}, '$1'},[],['$$']}], infinite));
       _ ->
         []
     end.
  
positive.code:   end.
  
  %% @doc Get a zone for the specific name, including the records for the zone.
  -spec get_zone_with_records(dns:dname()) -> {ok, #zone{}} | {error, zone_not_found}.
  get_zone_with_records(Name) ->
    NormalizedName = erldns:normalize_name(Name),
  
negative.code:          get_zone_records/1,
           get_records_by_name/1,
           get_records_by_name_and_type/2,
           in_zone/1,
           record_name_in_zone/2,
           zone_names_and_versions/0,
  