Hi Merlin, i have a openvpn client config.
The openvpn is running fine, but the dns server behind the vpn is not in resolv.conf.
I See in my Config:
admin@(none):/tmp/home/root# cat /etc/openvpn/dns/client1.resolv
admin@(none):/tmp/home/root# cat /tmp/resolv.conf
Is is possible the updown.sh script has an bug?
I the Script i found service dnsmasq restart, on console you see.
The openvpn is running fine, but the dns server behind the vpn is not in resolv.conf.
I See in my Config:
Oct 17 17:49:26 openvpn[21234]: PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 128.39.51.1,dhcp-option WINS 128.39.51.1,route 10.1.1.0 255.255.255.0,ping 10,ping-restart 120,route 128.39.0.0 255.255.0.0,route 10.10.0.0 255.255.0.0,route 10.11.0.0 255.255.0.0,route 10.12.0.0 255.255.0.0,route 10.14.0.0 255.255.0.0,ifconfig 10.1.1.6 10.1.1.5'
Oct 17 17:49:26 openvpn[21234]: OPTIONS IMPORT: timers and/or timeouts modified
Oct 17 17:49:26 openvpn[21234]: OPTIONS IMPORT: --ifconfig/up options modified
Oct 17 17:49:26 openvpn[21234]: OPTIONS IMPORT: route options modified
Oct 17 17:49:26 openvpn[21234]: OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
admin@(none):/tmp/home/root# cat /etc/openvpn/dns/client1.resolv
nameserver 128.39.51.1
admin@(none):/tmp/home/root# cat /tmp/resolv.conf
nameserver 212.x.x.x
nameserver 212.x.x.x
C:\Users\Sven>nslookup ts1.busse.local
Server: www.asusnetwork.net
Address: 192.168.1.1
*** ts1.busse.local wurde von www.asusnetwork.net nicht gefunden: Non-existent domain.
C:\Users\Sven>nslookup ts1.busse.local 128.39.51.1
Server: dc3.busse.local
Address: 128.39.51.1
Name: ts1.busse.local
Address: 128.39.51.3
C:\Users\Sven>
Is is possible the updown.sh script has an bug?
I the Script i found service dnsmasq restart, on console you see.
admin@(none):/tmp/home/root# service dnsmasq restart
Unknown applet: service