On 24 Apr 2014 16:10, "Robert Moskowitz" <rgm(a)htt-consult.com> wrote:
Is there a command line that will 'just use' getaddrinfo taking a fqdn as
input and return the results? My attempt to find such has come up empty;
my search foo is typically weak...
getent hosts <hostname
That should use the standard glibc (system) resolver with a getaddrinfo
call if memory serves.