Simple application to setup DDNS service on your host in internet.
Designed for personal use so right now it does not support multiple users.
My main reason was to create a DynamicDNS service for my local Home Assistant instalation, as a replacement for DuckDNS.
DNS server uses dnslib and HTTP server runs on sanic.
- Create
config.yamlfile usingconfig.example.yamlas reference - Simply run
python -m pax0r_ddns_server
- Create
config.yamlfile usingconfig.example.yamlas reference - Build image :
docker build -t pax0r . - Run from image :
docker run --publish 8000:8000 --publish 53:53 pax0r
- Set DNS NS record for domain you want to control to the the server where you are running DDNS service
- Post with empty body to
http://<your-server>/<domain>. IP of the posting client will be used as dynamic IP for given domain - DNS server run by this script should answer with your dynamic IP
- Persistent backends
- Separate daemon for http and dns (right now it's single process with two threads)
- Client applications
- Rewrite DNSServer to work on asyncio