A Dockerfile to serve a REST API to update DNS records at InterNetworX (inwx).
What is it?
How do I run it?
- Run a container that binds to default route on port
docker run -d -p 0.0.0.0:8080:80 suckowbiz/dnswxr
- Invoke the REST endpoint via (replace placeholders)
http(s)://<server-ip>:<server-port>/resources/records/a/update/?username=<username>&password=<password>&ip=<ip>&ttl=<time-to-life>&id=<id-of-a-resource-record?id=<id-of-further-a-resource-record>to update your records.
Note: This stuff is licensed under MIT to allow doing anything with proper attribution and without warranty.
Docker Pull Command