Request dns info of a domain using only the standard Elixir or Erlang libraries

Given the name of a domain, how can I retrieve its dns information such as ip, mx records, spf, etc… using only the standard Elixir or Erlang libraries?

1 Like

Perhaps the :inet_res module suites your needs?

If not you’ll probably need to implement it yourself using gen_udp.

1 Like

Thx…