Local dns server that forwards all its requests to google's https server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README.md
dns_forwarder.ml

README.md

Google DNS Forwarder

This is simple dns server that forwards requests to google's http based dns server.

It's based on the example dns forwarder in https://github.com/mirage/ocaml-dns

It's quite crashy

Getting started

Install the dependencies

opam install lwt
opam install dns
opam install cohttp
opam install tls
opam install ppx_deriving_yojson

Build the package

make

Run the program

sudo ./dns_forwarder

Testing

$ nslookup google.com 127.0.0.1
Server:		127.0.0.1
Address:	127.0.0.1#53

Non-authoritative answer:
Name:	google.com
Address: 172.217.26.174