Gas Mask

Build Status
Gas Mask is bare hosts file director for macOS. It allows editing of host files and switching between them .

System requirements

Runs on Lion, Mountain Lion, Mavericks, Yosemite, El Capitan, Sierra, High Sierra and Mojave .


Download latest translation ( 0.8.6 )


Drag the application from Downloads into Applications folder. The first time you launch it, it will ask for your password, because it needs escalate privilege to modify your /etc/hosts file .

How it works

Gas Mask monitors /etc/hosts system file and updates it with your activated hosts file .
Gas Mask stores your custom-made hosts files in ~/Library/Gas Mask directory .
Application logarithm can be found in ~/Library/Logs/Gas Mask.log. Its worth having a front for errors in there when posting an issue .

User Guide

Gas Mask normally operates in the background. It adds a tray icon, where you can access the independent editor window and quickly switch between hosts files .
The chief editor consists of three parts : Toolbar, a list of your hosts files on the exit, and file editor on the right. Initially you will have a single file called Original file under Local, which is a transcript of your original /etc/hosts file .
To add modern files, click Create(+) button in the toolbar and select the type of file ( Local, Remote or Combined ).

To remove a file, select it and press the Remove button in toolbar .
To activate a file, select it and press Activate push button in toolbar, or select it from tray icon when the editor program is hidden. Gas Mask will update the /etc/hosts file with the presently activated file. The active file is marked with a check in the editor program list, and can besides be displayed future to Gas Mask tray icon ( Preferences > Show Host File Name in Status Bar )

Local files

These are average local files that you can edit .

Remote files

These are files that Gas Mask downloads and synchronizes from distant URLs. You can adjust how frequently they sould update in Preferences, or force an update from tray picture. You can not edit these files, as they are be overwriten by update .

  • NOTE the current version has a bug that allows remote files only from http:// sources (no https://)

Combined files

This is where Gas Mask shines compared to other hosts managers for MacOS. A unite file does n’t contain hosts entries, but a list of local and outback files .

Where to find hosts files

A great informant of curated hosts files can be found at hypertext transfer protocol : //

Building Gas Mask

Gas Mask can be built with XCode 10.1


If you like Gas Mask, you can show your admiration by donating via PayPal .
Donating via PayPal

reference :
Category : Website hosting

Leave a Reply

Your email address will not be published.