mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Use correct rr_type()
This commit is contained in:
parent
2abca350e0
commit
6b684c866b
@ -38,7 +38,7 @@ get_nameservers() ->
|
||||
|
||||
is_good_ns(Addr) ->
|
||||
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)
|
||||
)
|
||||
) =:= ok.
|
||||
|
Loading…
Reference in New Issue
Block a user