<div dir="ltr">Can you run this process in a container - LXC/Docker?  Then you could control the networking separately from the main machine, including DNS requests. This would give you better resource isolation anyway.<br><br>Alternatively, you could set up a Linux networking namespace, and bind all the commands this process uses to use that namespace, so you can isolate all of the networking configuration to be separate from the main system.<div>This is what containers use under the hood, you could just set it up manually, and this would create a Linux virtual network interface for the process to use.</div><div><br></div><div>For reference:  <a href="https://man7.org/linux/man-pages/man8/ip-netns.8.html">https://man7.org/linux/man-pages/man8/ip-netns.8.html</a><br><br></div><div>Cheers,<br>Jason</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Jul 9, 2025 at 1:59\u202fPM Mikalai Birukou via kwlug-disc &lt;<a href="mailto:kwlug-disc@kwlug.org">kwlug-disc@kwlug.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Context:<br>
Tor project makes oniux. When in linux one starts process, e.g. ``` <br>
oniux bash ```, it moves networking via tor process.<br>
<br>
Question:<br>
Is there a similar trick for DNS only. So that we can run some test <br>
process, and inside of it all DNS requests can be set the way testing needs.<br>
<br>
<br>
<br>
_______________________________________________<br>
kwlug-disc mailing list<br>
To unsubscribe, send an email to <a href="mailto:kwlug-disc-leave@kwlug.org" target="_blank">kwlug-disc-leave@kwlug.org</a><br>
with the subject &quot;unsubscribe&quot;, or email<br>
<a href="mailto:kwlug-disc-owner@kwlug.org" target="_blank">kwlug-disc-owner@kwlug.org</a> to contact a human being.<br>
</blockquote></div>