• Stars
    star
    111
  • Rank 312,578 (Top 7 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a DNS agent which forwards queries to Google's beta DNS-over-HTTPS service

DNS-over-HTTPS proxy

Build Status Godoc

An implementation of a forwarding DNS proxy for using Google's DNS-over-HTTPS service with conventional applications.

Currently does no caching or particularly sensible parsing, and supports only A and AAAA records (as no API to convert them to Go-DNS format is yet written, and the Google API is still in flux).

Usage

Just run it! Remember if you're behind a corporate proxy you will need to set your http_proxy and https_proxy environment variables to contact the Google DNS servers through them. It might also be advisable use a local caching proxy in front of this if it's going to be a daily driver.

By default it binds to port 53, so if you have a local resolver it will fail to start. You can test it by binding to a high port and using dig like so:

dns-over-https-proxy -debug=true -address=127.0.0.1:8500 -log.level=debug

and then running dig will produce output similar to the below:

$ dig -p 8500 @127.0.0.1 google.com
; <<>> DiG 9.9.5-11ubuntu1.3-Ubuntu <<>> -p 8500 @127.0.0.1 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54973
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com.			IN	A

;; ANSWER SECTION:
google.com.		299	IN	A	74.125.23.100
google.com.		299	IN	A	74.125.23.113
google.com.		299	IN	A	74.125.23.101
google.com.		299	IN	A	74.125.23.102
google.com.		299	IN	A	74.125.23.138
google.com.		299	IN	A	74.125.23.139

;; Query time: 1302 msec
;; SERVER: 127.0.0.1#8500(127.0.0.1)
;; WHEN: Fri Apr 15 02:26:09 AEST 2016
;; MSG SIZE  rcvd: 184

License

Apache License, version 2.0.

Thanks

More Repositories

1

docker-squid4

Squid 4 docker container
Shell
88
star
2

p2cli

pongo2 cli - like the j2cli package in python, but compiles to self-contained go executables
Go
87
star
3

emailcli

Command line email sending client written in Go.
Go
26
star
4

openipmi

Working copy of the openipmi repository on sourceforge
C
21
star
5

prometheus-prefiller

CLI tool to prefill a prometheus data store.
Go
18
star
6

reverse_exporter

a label rewriting reverse proxy for Prometheus metrics
Go
14
star
7

keepass

More MonoDevelop, personal build friendly KeePass with incidental bug-fixes not yet in the Master.
C#
13
star
8

go-play

Copy of go-play, modified to embed the web assets allowing it to build and run as a standalone binary.
JavaScript
12
star
9

pdns_exporter

a quick and simple powerdns exporter for metrics via the control socket interface
Go
11
star
10

journald-forwarder

a simple golang-based JSON journald-forwarder
Go
9
star
11

self-contained-go-project

Template project for a self-contained, self-building Go project.
Go
7
star
12

poller_exporter

prometheus remote poller
Go
7
star
13

docker-vde-plugin

Go
4
star
14

tail_exporter

like mtail but with a yaml configuration syntax and pcre dependency
Go
4
star
15

j2live

GTK/Python app to edit and display Jinja2 templates in realtime
Python
3
star
16

callback

A Yamux-based websocket proxy server
Go
2
star
17

squid-deb-proxy-desktop

A modified version of squid-deb-proxy more suited for desktop and developer use.
Python
2
star
18

docker-dns-provision

Utility for provisioning containers onto hosts with DNS TXT records
Go
2
star
19

badgeserv

No-Nonsense badge generator service. Ideal for on-premises hosting!
Go
1
star
20

docker.netbox

Fully self-contained netbox docker image including database, prometheus and alerting
Python
1
star
21

docker.squid

Squid with ProxyChains and DNS-over-HTTPS
Shell
1
star
22

go.powerdns

PowerDNS REST API bindings for the Go programming language.
Go
1
star
23

docker.haproxy

A simple docker HAproxy container for doing SNI redirections
Lua
1
star
24

powerdns-cluster

docker-compose files and build scripts for setting up a test cluster with AXFR replication
Shell
1
star
25

docker-simple-volume

Simple volume driver for distributing whole disks to docker.
Go
1
star
26

kvmboot

Scripts and helpers for rapidly booting cloud images on a local libvirt instance
PowerShell
1
star
27

cgo.lwipv6

C Go Bindings for the lwipv6 library (WIP)
Go
1
star
28

reverseit

Command line client/server for setting up reverse TCP muxes over SSH sessions
Go
1
star
29

multihttp

small go library which allows quickly spawning HTTP/S servers of multiple addresses/unix sockets
Go
1
star
30

go.log

logrus wrapper which adds a few additional functions
Go
1
star