>My guess would be your chroot does not contain a etc/resolv.conf
>and/ro etc/hosts file and you do not have a resolver running on
>127.0.0.1

Thank you, Otto!

Upon moving /etc/resolv.conf file to the chrooted directory I was able to call
getaddrinfo and receive the associated IP from the domain.

Reply via email to