Skip to content

cbranch/ddns-nsupdate-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A set of Racket scripts for a DNS server and clients requesting DDNS service.

The server script accepts HTTP PUT requests and passes the data to nsupdate.

The client script sends an HTTP PUT to the server.

The reason you'd do this is when the client doesn't know its own IP address, i.e. whenever it's behind a NAT router.

The reason you'd use this specific method (rather than, say, scraping whatismyip.org and running nsupdate yourself) is because the server gets your IP address just by you contacting it, so there is no need to depend on an external service.

An upstart script is provided. Creating your own distro script is left as an exercise to the reader

TODO:
Load from configuraton file rather than hardcoded
Establish SSL connections (or similar)

About

Bridges between nsupdate and a remote client to provide a dynamic DNS service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages