Cannot push openVPN DNS? resolv.conf dnsmasq openVPN

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help

Cannot push openVPN DNS? resolv.conf dnsmasq openVPN

Postby braingateway on Mon Dec 10, 2012 5:50 am

Hi everyone,
The Mint 13 release has some serious VPN compatibility problem, that VPN clients (openVPN, etc) cannot receive the pushed DNS at all.
config in openVPN such as: dhcp-option DNS 8.8.8.8 will do nothing.
before we can use
Code: Select all
script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

in a client config file to fix the problem.

However, in Mint 13, there is no such thing called /etc/resolv.conf, due to it migrates to "dnsmasq". Strangely, if u do
Code: Select all
sudo service dnsmasq restart
, it will also complain dnsmasq: unrecognized service, which implys the dnsmasq is not active. So my questions are:
1. how exactly the DNS works in Mint 13?
2. how can I push the DNS without touch the resolv.conf? (I can reconfigure the resolvconf to handle the resolv.conf, then I can use openVPN plugin to modify it as usually, but is there any other way to do this without reconfigure the resolvconf?)
3. is there any possibility that dnsmasq can work with openVPN, or I should disable the dnsmasq completely? (it said if I add "dhcp option DOMAIN", I should see some change in /run/nm-dns-dnsmasq.conf. However, I did not see any change, which may due to the dnsmasq service is not running at all? The dnsmasq only run one time when the networkmanager get called?)
4. Does the main idea of using dnsmasq is to make the VPN connections easier?
braingateway
Level 2
Level 2
 
Posts: 82
Joined: Thu Sep 29, 2011 4:21 pm

Linux Mint is funded by ads and donations.
 

Return to Other networking topics

Who is online

Users browsing this forum: No registered users and 9 guests