mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +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) ->
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user