What's new

OpenVPN client DNS problem

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

The Chief

Regular Contributor
Same problem as in http://forums.smallnetbuilder.com/showthread.php?t=8295 topic. Strange is that I can see dns servers in dnsmasq log, but ASUS lan clients can't resolve anything within e5.vgg.ru domain.

Code:
14 11:38:52 openvpn[930]: PUSH: Received control message: 'PUSH_REPLY,dhcp-option DOMAIN e5.vgg.ru,dhcp-option DOMAIN pokupochka.ru,dhcp-option DNS 192.168.111.3,dhcp-option DNS 192.168.111.32,route 172.16.0.1,topology net30,ping 10,ping-restart 120,socket-flags TCP_NODELAY,ifconfig 172.16.0.26 172.16.0.25'
Sep 14 11:38:52 openvpn[930]: OPTIONS IMPORT: timers and/or timeouts modified
Sep 14 11:38:52 openvpn[930]: OPTIONS IMPORT: --socket-flags option modified
Sep 14 11:38:52 openvpn[930]: NOTE: setsockopt TCP_NODELAY=1 failed
Sep 14 11:38:52 openvpn[930]: OPTIONS IMPORT: --ifconfig/up options modified
Sep 14 11:38:52 openvpn[930]: OPTIONS IMPORT: route options modified
Sep 14 11:38:52 openvpn[930]: OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sep 14 11:38:52 openvpn[930]: TUN/TAP device tun11 opened
Sep 14 11:38:52 openvpn[930]: TUN/TAP TX queue length set to 100
Sep 14 11:38:52 openvpn[930]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sep 14 11:38:52 openvpn[930]: updown.sh tun11 1500 1542 172.16.0.26 172.16.0.25 init
Sep 14 11:38:52 rc_service: service 987:notify_rc updateresolv
Sep 14 11:38:52 dnsmasq[702]: read /etc/hosts - 5 addresses
Sep 14 11:38:52 dnsmasq[702]: read /etc/hosts.dnsmasq - 2 addresses
Sep 14 11:38:52 dnsmasq-dhcp[702]: read /etc/ethers - 4 addresses
Sep 14 11:38:52 dnsmasq[702]: using nameserver 178.35.148.197#53
Sep 14 11:38:52 dnsmasq[702]: using nameserver 83.239.129.5#53
Sep 14 11:38:52 dnsmasq[702]: using nameserver 192.168.111.32#53
Sep 14 11:38:52 dnsmasq[702]: using nameserver 192.168.111.3#53
Sep 14 11:38:52 openvpn[930]: /sbin/route add -net 192.168.108.0 netmask 255.255.252.0 gw 172.16.0.25
Sep 14 11:38:52 openvpn[930]: /sbin/route add -net 172.16.0.1 netmask 255.255.255.255 gw 172.16.0.25
Sep 14 11:38:52 openvpn[930]: Initialization Sequence Completed

178.35.148.197 and 83.239.129.5 are my adsl provider DNS's, 192.168.111.3/192.168.111.32 are ActiveDirectory domain DNS's.

Another strage thing — I can resolve my domain names from router's telnet command line (ssh). Seems to me that dnsmasq does not transfer dns requests from lan to vpn.
 
Seems to be fixed in 374.33_beta1, sorry for false alert.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top