<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
<a href="mailto:richardvoigt@gmail.com" target="_blank">richardvoigt@gmail.com</a> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Set /etc/resolv.conf to the local dnsmasq (nameserver 127.0.0.1)<br>
Set openvpn to store its information to /etc/resolv.conf.vpn<br>
Tell dnsmasq to read the server list from /etc/resolv.conf.vpn<br>
</blockquote>
<br></div>
That won&#39;t cut it, as openvpn will overwrite your local DNS servers with the one provided by the remote network, and you&#39;ll again be cut off from the local domains. You need to also add the --server directive statically, or set dynamically via openresolv.</blockquote>
<div><br>It may not be a complete solution if there are other local name servers besides dnsmasq, but it is a necessary starting point, or else resolution won&#39;t use dnsmasq at all (as the nameserver 127.0.0.1 directive gets overwritten if openvpn or dhcpcd is allowed to write to /etc/resolv.conf)<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
 -Tom<br><font color="#888888">
<br>
-- <br>
Tom Metro<br>
Venture Logic, Newton, MA, USA<br>
&quot;Enterprise solutions through open source.&quot;<br>
Professional Profile: <a href="http://tmetro.venturelogic.com/" target="_blank">http://tmetro.venturelogic.com/</a></font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</div></div></blockquote></div><br>