Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 not sure if it can be done, but here's what I'm trying to do. I am on a mac but trying to solve first for Linux, which is probably more general and might be easier.

  • I want my system to be configured to use as the general DNS for every usage.

  • I want one process (Plex server, namely) to use another DNS server - namely, a DNS that allows me to pass region limitations on paid content subscriptions (hey at least I'm telling it straight). Let's call this DNS server

The reason for this is that I don't want to compromise the stability of my entire system in case the DNS has issues. Yeah, I trust Google's DNS more.

Is it possible to do this kind of trickery? Or, are there other smart ways to make this work?

I have several other machines around and am willing to do routing trickery etc. as well, if anyone can think of a creative solution :)

Thanks a bunch!


share|improve this question
If the Plex box's network config is static, just point its resolver at and use for the rest. It's much more difficult if you're using DHCP for everything. You'd have to set up address pools (such as described at If all you have is the DHCPd server on your router, this probably can't be done and the only alternative is to switch to a static network configuration on the Plex box. – joat Jul 13 '13 at 13:44
@joat thanks for the comment, in fact the "plex server" is running on my everyday laptop. since AFAIK plex channels are generated on the plex server, it seems I need to separate-by-process my laptop DNS usage (or other similar creative solution). And, static network is totally acceptable if helps. – Yonatan Jul 13 '13 at 14:39
Two DNS servers for processes in the same box? "separate by process" isn't typical. You'd need to hardcode the function into the Plex software. About the only work-around that I can think of is to run the Plex server in VM. – joat Jul 16 '13 at 8:03
Sounds reasonable. One other direction I might pursue is using a proxy of sorts (HTTP or better yet SOCKS). I admit that the question now makes me more curious in principle than in practice. – Yonatan Jul 19 '13 at 12:11
up vote 2 down vote accepted

I suppose what you need is a 'container-like' technology.

Take a look at docker (Which is a very famous container technology now).

It runs the process in a separate container which may have different control group, resource namespaces etc.. and also, could have a different dns server configuration.

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.