Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 522 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 522 Bytes

Domain zone refresher in Digital ocean

Envionment variables (refresh some-name.example.com):

  • 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

build with docker

docker build -t dns .

example via docker:

docker run \
-e TOKEN="dop_v1_abc12333333333333333333333333333" \
-e DOMAIN="example.com" \
-e RECORD_NAME="some-name" \
dns