Skip to content

A Docker container that relays DNS queries to Vercara's UltraDDR service

License

Notifications You must be signed in to change notification settings

sbarbett/uddr_docker_relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
    git clone https://github.com/sbarbett/uddr_docker_relay
  2. Build the Docker container:
    docker build -t dns-relay .
  3. Run the container, passing your UDDR client UID (install key) as an environment variable and opening port 53:
    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.