Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/shunf4/go-dns-ddns

Golang DNS Server that implements a key-value storage
https://github.com/shunf4/go-dns-ddns

Last synced: 6 days ago
JSON representation

Golang DNS Server that implements a key-value storage

Awesome Lists containing this project

README

        

## Golang DNS Server that implements a key-value storage

To use it:

```
GDD_LISTEN_PORT=53 GDD_BASE_DOMAIN=ddns.example.com GDD_TOKEN=mytoken ./go-dns-ddns
```

```
dig +short A 127.0.0.1.key1.`date -u +%Y%m%d%H%M%S`.mytoken.ddns-set.ddns.example.com
dig +short A key1.`date -u +%Y%m%d%H%M%S`.mytoken.ddns-get.ddns.example.com

dig +short A abcdef.key1.`date -u +%Y%m%d%H%M%S`.mytoken.ddns-set.ddns.example.com
dig +short TXT key1.`date -u +%Y%m%d%H%M%S`.mytoken.ddns-set.ddns.example.com
```