Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-30-2008, 06:22 AM   #1
Registered: Feb 2006
Location: Belgium
Distribution: Debian stable/testing/unstable
Posts: 32

Rep: Reputation: 15
DNS - resolvconf with vpn problem

I'll try to explain my situation.

I'm at my home network with a router ( using iptables and dnsmasq running debian stable
My clients are running debian testing.

On my client i have running eth2 (lan-device) which uses the router as dns and a tun0 device wich is a openvpn connection to my work.
I use resolvconf to add the dns and domain of my work to /etc/resolv.conf .

Now when i have the tun0 device not active (vpn is not up) i can ping internally to "router" but when i have the vpn up (tun0) and the dns addes to my /etc/resolv.conf by resolvconf, the it tries to resolv my "router" by the dns of the vpn connection.

When i change the interface-order setting of resolvconf i can manage to ping locally but then the VPN dns isn't working.
Is there any way to get this right using my setup?
so that i can use local dns fine (hostnames) and dns for work fine without having to switch off and on the vpn all the times (very usefull for my imap mail over vpn.)



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS & VPN => headache m0rg Linux - Networking 2 02-21-2006 08:26 AM
Connect to vpn server, no DNS specified fatrandy13 Linux - Software 2 12-19-2005 09:08 PM
resolvconf bug? mcd Linux - Networking 2 07-25-2005 10:54 PM
Advice on setting up VPN/LAN DNS rwalkerphl Linux - Networking 2 10-03-2004 01:32 PM
VPN routing /DNS issue cyph3r7 Linux - Networking 1 05-06-2004 10:19 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration