Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shunf4/go-dns-ddns
- Owner: shunf4
- License: mit
- Created: 2021-09-26T02:09:27.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-13T12:56:26.000Z (about 3 years ago)
- Last Synced: 2024-06-21T00:02:43.132Z (6 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.comdig +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
```