mirror of
https://github.com/AmanTahiliani/cloudflare-dns-updater.git
synced 2026-08-07 11:53:08 -04:00
13 lines
354 B
Bash
13 lines
354 B
Bash
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
export CLOUDFLARE_EMAIL="placeholder@gmail.com"
|
||
|
|
export CLOUDFLARE_AUTH_KEY="placeholder"
|
||
|
|
export CLOUDFLARE_ZONE_ID="placeholder"
|
||
|
|
export CLOUDFLARE_RECORD_NAMES="placeholder.com"
|
||
|
|
export CLOUDFLARE_FORCE_IP="placeholder"
|
||
|
|
|
||
|
|
# Build the binary
|
||
|
|
go build -o cloudflare-dns-updater main.go config.go dns.go
|
||
|
|
|
||
|
|
# Run the binary
|
||
|
|
./cloudflare-dns-updater
|