Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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
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:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .