[Dnsmasq-discuss] NXDOMAIN problems with open VPN

richardvoigt at gmail.com richardvoigt at gmail.com
Sun Apr 19 01:45:14 BST 2009


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

On Sat, Apr 18, 2009 at 10:35 PM, Eric S. Johansson <esj at harvee.org> wrote:

>  this has happened to me with three separate sites so I really need to fix
> something.  When I connect to a remote site with open VPN, it rewrites
> resolv.conf so that it includes a remote DNS server first and then the
> local
> name server.  When I query for a remote name, everything works fine.  But
> when I
> query for a local name, I get NXDOMAIN.  as I see it, my solutions are
> fairly
> limited.
>
> Is there anything I can do to change the NXDOMAIN response in the remote
> dnsmasq
> instances?
>
> would it make sense to run a local dnsmasq and filter out the erroneous
> NXDOMAIN
> references from the  name servers pointed to by resolv.conf?
>
> I think this is an important problem because it's going to occur any time
> you
> use open VPN and have both local and remote DNS servers.
>
> Thanks for any help
>
>
> ---eric
>
>  PS fwiw, I'm already halfway to running dnsmasq locally because of
> vmware's
> whacked DNS and DHCP setup.
>
> _______________________________________________
> 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/20090419/51e6a6b9/attachment.htm


More information about the Dnsmasq-discuss mailing list