Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common hosts file entries #161

Open
rdgupt opened this issue Jan 16, 2019 · 1 comment
Open

Common hosts file entries #161

rdgupt opened this issue Jan 16, 2019 · 1 comment

Comments

@rdgupt
Copy link

rdgupt commented Jan 16, 2019

Is it possible to have a local gas mask file that stores common hosts entries that are prepended/appended to all hosts files?

@JayBrown
Copy link

I assume you can make one specific local hosts file that contains all the common entries you want, and then you create combined hosts files, i.e. you combine every hosts file you want to use with the above hosts file that contains only these common entries, and then you only use (switch between) these combined hosts file.

However, I have run into problems with this approach, in that the common entries stopped being resolved altogether, including 127.0.0.1 localhost, LAN domain names, and my individual spam/malware domain blocks. (!) So I assume, since Gas Mask offers this functionality, I'm doing something wrong with it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants