Thanks, unman, but it's not working for me. More precisely, your suggestion 
above worked fine. The line "" is appended to 
/etc/hosts.  But when I open a disposable terminal and type 'host', I get the DNS address, not

What am I doing wrong?

On Wednesday, April 19, 2023 at 11:19:56 AM UTC-4 unman wrote:

> On Wed, Apr 19, 2023 at 07:06:19AM -0700, wrote:
> > I haven't been able to figure out how I can modify /etc/hosts in a 
> dispVM 
> > so that my entry (such as myhost) will be 
> > used instead of DNS.
> > 
> > I'm trying to direct my traffic to a different host than the one listed 
> in 
> > DNS.
> > 
> > Anyone know an easy fix to this? Thanks.
> > 
> It's a disposable - you need to set the change in the disposable
> template.
> Add this to /rw/config/rc.local in the disposable template:
> echo "" >> /etc/hosts
> That will take effect in the disposable template, and in every
> disposable that uses it.
> I use this often because I block DNS for many qubes, provide hosts
> entries, and whitelist those IPs.

You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To view this discussion on the web visit

Reply via email to