Server Fault is a question and answer site for system and network administrators. 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 creating a virtual private cloud as a development environment. Right now there is just a single server running OpenVPN, BIND and Subversion at IP

If I pass along push "dhcp-option DNS", then clients can resolve the cloud resources by name ( =, but then they can't resolve local DNS names on their own network (e.g. desktop1.example.local).

How can I "add" instead of "replace" dns servers for clients? Or am I now going about this all wrong and I should have a single DNS server that they both access?

share|improve this question

You could run a forwarding resolver on each client machine, configured to "forward" queries for .dev to and all other queries to the .local server.

Unbound is quite lightweight, and has easy configuration for forwarding like this.

Possibly the only hard part is hooking into OpenVPN to only enable that forwarding only when the tunnel is up, if required.

share|improve this answer

Your Answer


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.