- TOKEN : Personal access token
- DOMAIN : Domain name (example.com)
- RECORD_NAME : Record name (some-name)
- GET_IP_URL (optional) : Getting your ip address from this site. default: https://ipecho.net/plain
docker build -t dns .
docker run \
-e TOKEN="dop_v1_abc12333333333333333333333333333" \
-e DOMAIN="example.com" \
-e RECORD_NAME="some-name" \
dns