anchor.diff:      ok.
   
   %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  +
  +server_case_scramble(doc) ->
  +    ["Test lookup when server scrambles case in host name"];
  +server_case_scramble(Config) when is_list(Config) ->
  +    % Purge inet_res config
  +    ResolvConf = inet_db:res_option(resolv_conf),
  +    inet_db:set_resolv_conf(""),
  +
  +    Result = try do_server_case_scramble(Config) of
  +	Success -> {return, Success}
  +    catch
  +	Class:Reason -> {raise, {Class, Reason, erlang:get_stacktrace()}}
  +    end,
  +
  +    % Restore inet_res config
  +    inet_db:set_resolv_conf(ResolvConf),
  +
  +    case Result of
  +	{return, Success_} -> Success_;
  +	{raise, {Class_, Reason_, Stacktrace}} -> erlang:raise(Class_, Reason_, Stacktrace)
  +    end.
  +
  +do_server_case_scramble(Config) ->
  +    NS = ns(Config),
  +    Name = "ns.otptest",
  +    NameC = caseflip(Name),
  +    PSpec = proxy_start({server_case_scramble, 4}, NS),
  +    {ProxyHost, ProxyPort} = proxy_ns(PSpec),
  +    inet_db:add_ns(ProxyHost, ProxyPort),
  +
  +    %%
  +    %% gethostbyname
  +    {ok,#hostent{h_name=Name, h_addr_list=[IP]}} = inet_res:gethostbyname(Name),
  +    {ok,#hostent{h_name=NameC, h_addr_list=[IP]}} = inet_res:gethostbyname(NameC),
  +    inet_db:clear_cache(),
  +    %%
  +    %% getbyname
  +    {ok,#hostent{h_name=Name, h_addr_list=[IP]}} = inet_res:getbyname(Name, a),
  +    {ok,#hostent{h_name=NameC, h_addr_list=[IP]}} = inet_res:getbyname(NameC, a),
  +    %%
  +    proxy_wait(PSpec),
  +    ok.
  +
  +%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   %% Compatibility tests. Call the inet_SUITE tests, but with
   %% lookup = [file,dns] instead of [native]
   
  
positive.code: 	edns0 -> otptest;
  	files_monitor -> otptest;
  	last_ms_answer -> otptest;
  	_ -> undefined
      end.
  
  
negative.code: 
  all() -> 
      [basic, resolve, edns0, txt_record, files_monitor,
       last_ms_answer, server_case_scramble,
       gethostbyaddr, gethostbyaddr_v6, gethostbyname,
       gethostbyname_v6, getaddr, getaddr_v6, ipv4_to_ipv6,
       host_and_addr].
  