[Dnsmasq-discuss] NXDOMAIN problems with open VPN
richardvoigt at gmail.com
richardvoigt at gmail.com
Tue Apr 21 19:06:38 BST 2009
> richardvoigt at gmail.com wrote:
>
>> Set /etc/resolv.conf to the local dnsmasq (nameserver 127.0.0.1)
>> Set openvpn to store its information to /etc/resolv.conf.vpn
>> Tell dnsmasq to read the server list from /etc/resolv.conf.vpn
>>
>
> That won't cut it, as openvpn will overwrite your local DNS servers with
> the one provided by the remote network, and you'll again be cut off from the
> local domains. You need to also add the --server directive statically, or
> set dynamically via openresolv.
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'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)
>
>
> -Tom
>
> --
> Tom Metro
> Venture Logic, Newton, MA, USA
> "Enterprise solutions through open source."
> Professional Profile: http://tmetro.venturelogic.com/
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20090421/6cac62ac/attachment.htm
More information about the Dnsmasq-discuss
mailing list