<div dir="ltr"><div>If you want to resolv hostnames using resolv.conf file, you need the appropriate library libresolv which is part of libc.</div><div>So you'll need to copy the libc librairies in your chroot environment.</div><div><br></div><div>Regards,<br></div><div>Flo<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 13, 2019 at 1:00 PM tom <<a href="mailto:posturne@gmail.com">posturne@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
> Are you sure 'foobar.remote.site' should resolve?<br>
> Does "ping foobar.remote.site" work?<br>
<br>
yes, the host is resolved on commandline and other services on this<br>
system can reach this host.<br>
<br>
<br>
> Do you have a /var/run/stunnel/etc/resolv.conf file?<br>
<br>
No at this time I dont have this file, but it doesnt change anything<br>
if I copy the original from /etc to this lokation. But this brings me<br>
to the point try to dissable chroot and in this case stunnel is<br>
working as expected. So far so good - there is something wrong in the<br>
chroot jail.<br>
<br>
I try to put it to /var/run/stunnel - no luck, but maybe there are<br>
other files missing as well?<br>
<br>
<br>
regards<br>
Tom<br>
_______________________________________________<br>
stunnel-users mailing list<br>
<a href="mailto:stunnel-users@stunnel.org" target="_blank">stunnel-users@stunnel.org</a><br>
<a href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" rel="noreferrer" target="_blank">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a><br>
</blockquote></div>