2024-12-30 14:00:01 +01:00
2024-12-30 10:23:54 +01:00
2024-12-30 12:46:22 +01:00
2024-12-30 12:59:54 +01:00
2024-12-30 10:23:54 +01:00
2024-12-30 10:23:54 +01:00
2024-12-30 10:23:54 +01:00
2024-12-30 10:23:54 +01:00
2024-12-30 10:23:54 +01:00
2024-12-30 10:23:54 +01:00
2024-12-30 10:23:54 +01:00
2024-12-30 10:23:54 +01:00
2024-12-30 10:23:54 +01:00
2024-12-30 12:59:54 +01:00
2024-12-30 12:59:54 +01:00
2024-12-30 12:44:51 +01:00
2024-12-30 12:59:54 +01:00

goaway - DNS request blocker

goaway Preview

🙏 Acknowledgments

Heavily inspired by pi-hole.

📦 Installation

goaway supports the following platforms:

  • Operating Systems: Linux, macOS, and Windows
  • Architectures: amd64, arm64, and 386

Note

Testing has primarily been conducted on Linux (amd64). Functionality on macOS and Windows may vary and is not guaranteed.

Install the Latest Version

To install the latest version of goaway, run the following command:

curl https://raw.githubusercontent.com/pommee/goaway/main/installer.sh | sh /dev/stdin

This will install the binary specific to your platform. The binary is placed in ~/.local/bin. If the installer.sh script fails, then binaries can be manually downloaded from releases.

🛠 Usage

Starting the Application

To start the servers (dns & web), simply run the following command in your terminal:

$ goaway

Will display some information once the server is started.

started

Development

Environment variables are used for configuration.

Variable Default Info
GOAWAY_PORT 53 Port used for the DNS server.
WEBSITE_PORT 8080 Port used for the API server. Also serves the website pages.
UPSTREAM_DNS 8.8.8.8:53 IP and port the server uses to resolve domain names.
BLACKLIST_PATH ./blacklist.json File containing all domain names that will be blocked.
COUNTER_PATH ./counter.json Keeps track of of various statistics.
REQUEST_LOG_FILE ./requests.json Storage for all requests served. Contains timestamps, domain names and if a request was blocked.
Description
DNS sinkhole written in Go with a modern dashboard client
Readme MIT 20 MiB
Languages
TypeScript 61.1%
Go 34.5%
CSS 3.5%
Shell 0.5%
Makefile 0.2%