Skip to content
Snippets Groups Projects
Commit 880dc03c authored by Ferenc Schulcz's avatar Ferenc Schulcz
Browse files

Add README

parent 6d8594ac
Branches
No related tags found
No related merge requests found
Simple DynDNS server
====================
This is a simple DynDNS server implementation that builds on the Knot DNS server.
Features
--------
Register a new domain:
```
$ curl -4 'http://localhost:3000/register?domain=myname'
{
"domainName":"myname.test.test",
"token":"ecf43b7659fc09d81c4b55ded31d6b0b",
"message":"DNS record is not served until first DynDNS update."
}
```
Update DNS record:
```
curl -4 'http://localhost:3000/update?token=ecf43b7659fc09d81c4b55ded31d6b0b&ip=1.1.1.1'
{
"message":"Updated."
}
```
**WARNING: You need to use a proxy that handles authentication and authorization!**
Dependencies
------------
- [Knot DNS server](https://www.knot-dns.cz/) - Open source DNS server developed by the Czech domain registrar
- [MongoDB](https://www.mongodb.com/) - NoSQL database
Running
-------
Setup: `npm install`
`sudo node index.js`
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment