24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00

Use correct rr_type()

This commit is contained in:
Evgeny Khramtsov 2019-06-27 11:35:56 +03:00
parent 2abca350e0
commit 6b684c866b

View File

@ -38,7 +38,7 @@ get_nameservers() ->
is_good_ns(Addr) -> is_good_ns(Addr) ->
element(1, element(1,
inet_res:nnslookup("a.root-servers.net", in, any, [{Addr,53}], inet_res:nnslookup("a.root-servers.net", in, a, [{Addr,53}],
timer:seconds(5) timer:seconds(5)
) )
) =:= ok. ) =:= ok.