[stunnel-users] jailed stunnel can't find DNS

Olivier Kaloudoff kalou at kalou.net
Mon Nov 8 09:24:41 CET 2004


> "John Conover" <conover at rahul.net> wrote:

>>    2004.11.07 16:49:10 LOG3[3794:1025]: Failed to resolve hostname 
>> 'abc.wxyz.net'

(...)

>> Removing chroot in stunnel.conf fixes the problem, but its no longer jailed.
>> 
>> Hints?

(...)

> 3. You can create the files/devices your resolver library needs inside the 
> chroot jail.
>   strace is your friend: http://sourceforge.net/projects/strace/

ie: <chroot_jail_root>etc/resolv.conf should be enough.



Olivier



More information about the stunnel-users mailing list