Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

There was such tool but I cannot remember its name. I needed to configure precedence of addresses by /etc/gai.conf. I finally managed to find an error, but for future, what's the name of tool which displays the addresses of hostname as getaddrinfo(3) displays it?

share|improve this question
    
What's the output of getaddrinfo(3)? –  3molo May 18 '11 at 9:16
add comment

1 Answer

up vote 1 down vote accepted

I know there is a tool resolveip for this that comes with MySQL. It should also be dead-simple to write something with e.g. Python or Perl...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.