Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dyndns-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Schulcz Ferenc
dyndns-server
Commits
880dc03c
Commit
880dc03c
authored
1 year ago
by
Ferenc Schulcz
Browse files
Options
Downloads
Patches
Plain Diff
Add README
parent
6d8594ac
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+42
-0
42 additions, 0 deletions
README.md
with
42 additions
and
0 deletions
README.md
0 → 100644
+
42
−
0
View file @
880dc03c
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment