Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using OpenVPN client (TCP TUN) on an Ubuntu box. For some reason, it stopped resolving names when I'm connected through my dd-wrt router. It used to work just fine, and when connected directly, it still works. Resetting the settings didn't help. Any ideas on where to look?

share|improve this question
1  
Please give more information about your setup. Are you behind a DD-WRT router, trying to connect to an external OpenVPN server? Are you saying DNS is working when you connect directly to the Internet to your OpenVPN server, without being behind the DD-WRT router? –  Gregory A. Lussier Aug 4 '13 at 15:02
    
@GregoryA.Lussier Yes, this is exactly right. –  Alexei Averchenko Aug 4 '13 at 16:24

1 Answer 1

up vote 3 down vote accepted

The only reason I think of would be that your DD-WRT router is running dnsmasq and your PC gets its IP address as a DNS server. For some reason, it would keep it as a DNS server when it's connected to the VPN server. I don't see why it wouldn't do the same when it's directly connected though.

You may want to explicitly push a DNS server to your VPN clients:

http://openvpn.net/index.php/open-source/documentation/howto.html#dhcp

share|improve this answer
1  
Yep, disabling dnsmasq helped. Thanks! –  Alexei Averchenko Aug 4 '13 at 21:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.