Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jedisct1/whatsmyresolver

A tiny DNS server that returns the client (resolver) IP
https://github.com/jedisct1/whatsmyresolver

dns

Last synced: 18 days ago
JSON representation

A tiny DNS server that returns the client (resolver) IP

Awesome Lists containing this project

README

        

# whatmyresolver

This is the source code of the `resolver.00f.net` service.

It responds to DNS queries with the client (resolver) IP address.

Public demo API
---------------

```bash
$ dig +short resolver.dnscrypt.info
74.125.181.207
```
-> Aww crap, this VPN service is actually sending DNS queries to Google.

Installation
------------

```bash
$ go get github.com/jedisct1/whatsmyresolver
# myresolver -listen :53
```

And delegate a zone to this IP:
```
resolver.example.com. IN NS resolver-ns.example.com.
resolver-ns.example.com IN A
```