Guest User!

You are not Sophos Staff.

[CONFIRMED] [7.350] DNS problems for openvpn client connection

Hi

seems there is problems with openvpn and name resolution on client side..

got lot of errors when attempting for the connexion:


2008:11:27-20:55:27 (none) openvpn[7266]: RESOLVE: Cannot resolve host address: asg.office.dotwiz.com: [HOST_NOT_FOUND] The specified host is unknown
...


whereas from the console I have:


asg:/root # date; nslookup asg.office.dotwiz.com
Thu Nov 27 20:55:18 CET 2008
Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
Name: asg.office.dotwiz.com
Address: 213.30.181.106


any idea ?
  • Confirmed. Can you please copy /etc/resolv.conf to /var/chroot-openvpn/etc/ and see if it works then? Thanks!
  • Confirmed. Can you please copy /etc/resolv.conf to /var/chroot-openvpn/etc/ and see if it works then? Thanks!


    that was first thing I did... as I seen there were no resolv.conf into the chroot env (and probably some other chroot env for other apps)... but this did not fixed the problem !

    In fact there are missing libs into the /var/chroot-openvpn/lib/ directory ! probably libnss_dns* and some other dependencies... I copied whole /lib/lib* to /var/chroot-openvpn/lib/ dir and everything is working fine now...

    probably same problems with some other apps...

    edit1: ok in fact missing libs are /lib/libresolv* and /lib/libnss_dns*