https://github.com/rameezk/secure-dns
A simple DNS server written in Go with DNS over HTTPS and graceful fallback options
https://github.com/rameezk/secure-dns
dns-over-https go
Last synced: 5 months ago
JSON representation
A simple DNS server written in Go with DNS over HTTPS and graceful fallback options
- Host: GitHub
- URL: https://github.com/rameezk/secure-dns
- Owner: rameezk
- License: mit
- Created: 2019-05-29T14:48:42.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-30T11:48:54.000Z (about 7 years ago)
- Last Synced: 2024-06-20T01:49:51.609Z (almost 2 years ago)
- Topics: dns-over-https, go
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Secure DNS
> A simple DNS server written in Go using DNS over HTTPS along with some graceful fallback options
## Features
- [x] DNS over HTTPS
- [x] Fallback over UDP
- [x] Systemd Daemon
## Installation
```bash
go get github.com/rameezk/secure-dns
```
## Usage
### Classic Mode (AKA running from cli)
If your `$GOPATH` is set correctly, you can simply invoke with:
```bash
secure-dns
```
For a full list of configuration options, use:
```bash
secure-dns --help
```
NOTE If you're using the default listening address and port (e.g. 127.0.0.1:53), you'll need to run as root
```bash
sudo secure-dns
```
### Daemon (via systemd)
The systemd daemon can be installed by running:
```bash
./install-systemd-service.sh
```
The configuration file can be found at `/etc/secure-dns.conf`