Am Dienstag, 16. Februar 2016 15:49:43 UTC+1 schrieb pho...@ccvschools.com:
> On Monday, February 15, 2016 at 7:28:21 PM UTC-7, mver...@gmail.com wrote:
> > On Saturday, October 24, 2015 at 8:42:27 AM UTC+8, Marek 
> > Marczykowski-Górecki wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA256
> > > 
> > > On Fri, Oct 23, 2015 at 10:46:21AM -0700, Pete Howell wrote:
> > > > I think it's NetworkManager that creates it (not sure), which is why I 
> > > > tried creating a dispatcher script.  I've tried about 10 different ways 
> > > > to 
> > > > get the file created with the search directives, and no matter what I 
> > > > try, 
> > > > the file remains unchanged.
> > > 
> > > The file is automatically (re)created by `/usr/lib/qubes/setup-ip`
> > > script. If you want, you can disable this by adding /etc/resolv.conf to
> > > any (new) file in `/etc/qubes/protected-files.d/`. Then you'll need to
> > > keep the whole /etc/resolv.conf in sync manually (not only search
> > > option). But setting DNS to your NetVM IP should be just fine (assuming
> > > you have one NetVM, not using TorVM etc).
> > > 
> > > - -- 
> > > Best Regards,
> > > Marek Marczykowski-Górecki
> > > Invisible Things Lab
> > > A: Because it messes up the order in which people normally read text.
> > > Q: Why is top-posting such a bad thing?
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1
> > > 
> > > iQEcBAEBCAAGBQJWKtPsAAoJENuP0xzK19csPyIH/izJb1p/cDJ+3Np/E2rJ5t9f
> > > 1nGKvPUnys1tAfyavirKT9ya5IKQ/hjPTfgAVF8gmMrWUCrnaO5rurDzv5ihqPgp
> > > k1PATiWikikddccuu2+BEDL+6qxGJrK6F7zyEn2a5CJJknOW9Pl9G0O7jmAZpQyN
> > > N0JBhynONVMe2iZRRHJWYe9Y4YXj9q6kxJXK8zqrRWgsaeaW3pspU2cvC0rTMLuQ
> > > U3OkzDpHWlf7vbeRRkcFmcgYPj177MZNHFxES07HDQE+82jAf6rg0KbKudlAC9+s
> > > Art/ooCKepvYrdLk6lA8qBmYHnZmNqlrce7e56jFxBoc/Zx5wzZRygMorHj8TFk=
> > > =tW0s
> > > -----END PGP SIGNATURE-----
> > 
> > Hi Pete, did you ever 'resolve' your issue? I've just moved to Qubes (3.0) 
> > and see similar behaviour - my NetVM has the correct search domains 
> > configured (viewable in the NetworkManager GUI as well as resolv.conf), but 
> > AppVMs do not.
> > 
> > Is manually maintaining the /etc/resolv.conf file the correct way to handle 
> > this requirement?
> > 
> > Thanks for any suggestions.
> 
> No, unfortunately, I never did resolve this -- it's still something I'd like 
> to see fixed.  It would be nice if there was an easy and straightforward way 
> to do this.

Hi,

i had the same issue and came up with a simple solution using qubes RPC and 
some shell scripts.

https://github.com/the2nd/qubes-dns-search

This works fine for me. The only problem is that the search domain is not added 
to a VMs resolv.conf on reboot. You have to re-connect your network for this.

Regards
the2nd

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d09cd64a-327d-4495-ba86-371fa0cb9e77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to