An open API service indexing awesome lists of open source software.

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

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`