Amqpx.DNS (amqpx v6.1.3)

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

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.