Amqpx.DNS (amqpx v6.0.4)

Module to resolve a DNS record into an A record.

Summary

Functions

Resolves the IP addresses of a given hostname. If the hostname cannot be resolved, it returns the hostname itself.

Functions

Link to this function

resolve_ips(host)

@spec resolve_ips(charlist()) :: [charlist()]

Resolves the IP addresses of a given hostname. If the hostname cannot be resolved, it returns the hostname itself.