diegobernardes / dip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DIP - Dynamic IP

How to use it

Export these environment variables:

export CF_API_KEY=
export CF_API_EMAIL=
export CF_ZONE_ID=# this can be get at the domain page.
export CF_ZONE_TYPE=# the DNS record type.
export CF_ZONE_NAME=# the DNS record name.

Run the application:

go run main.go

Check the Cloudflare Admin page to see if the value has changed.

About


Languages

Language:Go 100.0%