Simple application that updates your DNS entries automatically each time your IP changes.
1.2K
Simple application in Golang that retrieves your ip and updates your DNS entries automatically each time your IP changes.
Having a lab at home. behind an ip which is dynamic, I could not keep a static DNS entry, since at each change of IP I have to change the DNS entries of all my domains.
So I wrote this little program one afternoon in order to get rid of this manual task which, when it occurred when I was not at home, was very annoying, imagine you can no longer watch plex while you are with your date. Unthinkable
To use it, its really simple (3 steps)
# Interval at which the program will check if your IP has changed
ipFetchInterval: 30s
# Records entries define the rules to follow when found an ip change
records:
- # name of the provider to use. Must be registered
provider: ovh
# domain to update
domain: example.space
# when your record is on a subdomain enter the name of
# the sub domain here without domain extension
# `awesome.example.space` must be `awesome`
subDomain: null
# Type of the record. Actually must be A or AAAA only
type: A
You need to mount this file on config/updater.yaml to override default configuration file
| Provider Name | Provider Site | Environment Variables |
|---|---|---|
ovh | https://ovh.com | OVH_APPLICATION_KEY Your OVH Application KeyOVH_APPLICATION_SECRET Your OVH Apllication SecretOVH_CONSUMER_KEY Your Consumer Key |
Content type
Image
Digest
sha256:2487d12ec…
Size
7.8 MB
Last updated
over 3 years ago
docker pull atomys/dns-updater