VRConnectivity Shield is a simple DNS blocking utility for Windows. It is designed to block hosts related to VRChat analytics. This utility is intended to be used in conjunction with a VPN to prevent VRChat from collecting analytics data while playing the game.
- Go installed on your system.
To use VRConnectivity Shield, follow these simple steps:
-
Download: Obtain the executable file for your platform from the Releases page.
-
Run: Execute the VRConnectivity-Shield.exe executable to start the DNS blocking utility.
To build the project from source, follow these steps:
-
Clone: Clone the repository to your local machine.
git clone https://github.com/Onyx-Innovators/VRConnectivity-Shield.git
-
Navigate: Navigate to the project directory.
cd VRConnectivity-Shield/src
-
Build: Build the project using the Go compiler.
go build -o VRConnectivity-Shield.exe
-
Run: Execute the VRConnectivity-Shield.exe executable to start the DNS blocking utility.
The list of blocked hosts is sourced from VRChat-Analytics-Blocker. The blocked hosts are defined in the main.go
map in the utils package. You can modify this map to include or exclude specific hosts as needed.
var hostsToAdd = []string{
"api.amplitude.com",
"api2.amplitude.com",
// Add specific hosts here
}
The program will add the specified hosts to the hosts file located at C:\Windows\System32\drivers\etc\hosts
. The hosts file is a text file that maps hostnames to IP addresses. When a DNS request is made for a hostname that is defined in the hosts file, the DNS resolver will use the IP address specified in the hosts file instead of querying a DNS server.
This project is licensed under the MIT License.