anchor.diff:           select/2,
            select/3,
            foldl/3,
  -         empty_table/1]).
  -
  --export([load_zones/0,
  -    load_zones/1]).
  +         empty_table/1,
  +         load_zones/0,
  +         load_zones/1]).
   
   %% gen_server callbacks
   -export([init/1,
  
positive.code:             {err, Reason}
      end.
  
  % Internal API
  %% @doc Get file name from env, or return default (copied from erldns_zone_loader.erl)
  filename() ->
      case application:get_env(erldns, zones) of
  
negative.code:             JsonZones = jsx:decode(Binary),
              erldns_log:info("Putting zones into cache"),
              lists:foreach(
                fun(JsonZone) ->
                        Zone = erldns_zone_parser:zone_to_erlang(JsonZone),
                        erldns_zone_cache:put_zone(Zone)
                end, JsonZones),
              erldns_log:info("Loaded ~p zones", [length(JsonZones)]),
              {ok, length(JsonZones)};
          {error, Reason} ->
  