Created
May 4, 2020 14:25
-
-
Save aslamdoctor/34bb6677195123f85ca8958b8383a7ba to your computer and use it in GitHub Desktop.
Acrylic Hosts File Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Acrylic DNS Proxy (free, open source) does the job. It creates a proxy DNS server (on your own computer) with its own hosts file. The hosts file accepts wildcards. | |
Download from the offical website | |
http://mayakron.altervista.org/support/browse.php?path=Acrylic&name=Home | |
Configuring Acrylic DNS Proxy | |
To configure Acrylic DNS Proxy, install it from the above link then go to: | |
Start | |
Programs | |
Acrylic DNS Proxy | |
Config | |
Edit Custom Hosts File (AcrylicHosts.txt) | |
Add the folowing lines on the end of the file: | |
127.0.0.1 *.localhost | |
127.0.0.1 *.local | |
127.0.0.1 *.lc | |
Restart the Acrylic DNS Proxy service: | |
Start | |
Programs | |
Acrilic DNS Proxy | |
Config | |
Restart Acrylic Service | |
You will also need to adjust your DNS setting in you network interface settings: | |
Start | |
Control Panel | |
Network and Internet | |
Network Connections | |
Local Area Connection Properties | |
TCP/IPv4 | |
Set "Use the following DNS server address": | |
Preferred DNS Server: 127.0.0.1 | |
If you then combine this answer with jeremyasnyder's answer (using VirtualDocumentRoot) you can then automatically setup domains/virtual hosts by simply creating a directory. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for this. Can this also log DNS requests like Pihole?