Skip to content

Small tool to handle my home IP changes by changing poiuytre.nl A record on GoDaddy

License

Notifications You must be signed in to change notification settings

dacruz/dns_updater

Repository files navigation

DNS Updater

Small tool to handle my home IP changes by updating poiuytre.nl A record on GoDaddy

Testing

$ go test ./...

Coverage report

$ go test -coverprofile=cover.out  ./... && go tool cover -html=cover.out

How to run it

Requisite

To run the application, you first need to decrypt secrets.yaml file. Or write your own and replace the one you've found here...

I'm using the following for encyption:

Decrypt:

$ sops -d --output-type yaml secrets.enc.yaml > secrets.yaml

Encrypt:

$ sops -e --input-type yaml --age ageEXAMPLE secrets.yaml > secrets.enc.yaml 

Deploying to your k8s cluster

$ kubectl apply -f secrets.yaml && kubectl apply -f config.yaml 
$ kubectl apply -f cronjob.yaml

About

Small tool to handle my home IP changes by changing poiuytre.nl A record on GoDaddy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published