anchor.diff:                      ip     := IP}) ->
       SA = #{family => Domain,
              addr   => IP},
  -    try net:gethnameinfo(SA) of
  +    try net:getnameinfo(SA) of
           {ok, NameInfo} ->
               %% Check that we can actually find this IP in the list
               api_m_getnameinfo_verify(NameInfo, Name);
  
positive.code: api_m_getaddrinfo_v6(Config) when is_list(Config) ->
      ?TT(?SECS(5)),
      Pre  = fun() ->
                     {Name, FullName, IPStr, IP, Aliases,_,_} =
                         ct:get_config(test_host_ipv6_only),
                     #{name      => Name,
                       full_name => FullName,
  
negative.code: api_m_getaddrinfo(#{name   := Name,
                      family := Domain,
                      ip     := IP}) ->
      try net:getaddrinfo(Name) of
          {ok, AddrInfos} ->
              %% Check that we can actually find this IP in the list
              api_m_getaddrinfo_verify(AddrInfos, Name, Domain, IP);
  