https://github.com/sbarbett/uddr_docker_relay
A Docker container that relays DNS queries to Vercara's UltraDDR service
https://github.com/sbarbett/uddr_docker_relay
dns-over-https dnscrypt-proxy docker protective-dns ultraddr
Last synced: 3 months ago
JSON representation
A Docker container that relays DNS queries to Vercara's UltraDDR service
- Host: GitHub
- URL: https://github.com/sbarbett/uddr_docker_relay
- Owner: sbarbett
- License: mit
- Created: 2024-04-01T21:31:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-10T16:03:52.000Z (about 1 year ago)
- Last Synced: 2025-01-27T23:47:35.711Z (5 months ago)
- Topics: dns-over-https, dnscrypt-proxy, docker, protective-dns, ultraddr
- Language: Python
- Homepage: https://www.vercara.com
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# uddr_docker_relay
This repository contains a Dockerfile that spins up a container running a BIND server. This BIND server relays queries to dnscrypt-proxy, which resolves the queries via DoH (DNS-over-HTTPS) using custom resolvers.
## Prerequisites
- Docker installed on your machine.
## Installation and Configuration
1. Clone this repository:
```bash
git clone https://github.com/sbarbett/uddr_docker_relay
```
2. Build the Docker container:
```bash
docker build -t dns-relay .
```
3. Run the container, passing your UDDR client UID (install key) as an environment variable and opening port 53:
```bash
docker run -d --name dns-relay -e CLIENT_ID=your_client_id -p 53:53/udp -p 53:53/tcp dns-relay
```Now, you can test it by using dig or nslookup to perform a DNS query:
```
dig @localhost example.com
```## License
This script is provided under the MIT License. See the LICENSE.md for the full declaration.