Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonrw/dyndns
Dynamically configurable recursive dns resolver
https://github.com/simonrw/dyndns
Last synced: 19 days ago
JSON representation
Dynamically configurable recursive dns resolver
- Host: GitHub
- URL: https://github.com/simonrw/dyndns
- Owner: simonrw
- License: apache-2.0
- Created: 2023-01-14T10:20:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-08T21:02:32.000Z (over 1 year ago)
- Last Synced: 2024-10-11T01:32:52.192Z (about 1 month ago)
- Language: Rust
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dyndns
Dynamically configurable recursive dns resolver
This server exposes an HTTP API with which records can be dynamically added after runtime. The only configuration the server needs at startup (though this configuration can be _changed_ after start) is the upstream DNS IP address to use (defaults to 1.1.1.1).
```
# dyndns --upstream-ip 1.1.1.1
dyndns config listening on 127.0.0.1:6060...
```*While the server is running*
```
$ curl -X POST http://localhost:6060 -d '{"operation": "add", "payload": {"type": "a", "hostname": "exmaple.com", "ip-address": "127.0.0.1"}}'$ dig +noall +answer example.com
example.com. 85176 IN A 127.0.0.1
...```