crazystick / dynamic-cloud-dns-client Goto Github PK
View Code? Open in Web Editor NEWA Linux client for dynamic-cloud-dns project
License: MIT License
A Linux client for dynamic-cloud-dns project
License: MIT License
If the request to ipify fails for any reason, it raises an error, which causes the main loop to exit, and systemd is responsible for restarting it.
It would be much better if there was at least an attempt to retry the request before failing.
It could be possible that for some reason the ipify API returns some incorrect data, like returning an IPv4 address from https://api6.ipify.org
We should check the format of the value returned, and ignore if it isn't correct.
logs entries like
DEBUG urllib3.connectionpool Starting new HTTPS connection (1): api.ipify.org
then nothing
# the Cloud DNS zone to update
DCDNS_ZONE=**_MYHOST_**
is it a proper mapping?
DCDNS_HOST=dynamichost.domain.com
is it a proper mapping?
DCDNS_FUNCTION_URL=https://us-central1-myexampleproject .cloudfunctions.net/updateHost
cant figure out where to find "us-central1" i have got
https://console.cloud.google.com/compute/instances?project=myexampleproject => Zone = "northamerica-northeast2-a" is it the same ?
In install.sh the line:
echo "Edit /etc/dynamic_cloud_dns_client_$1 and then run systemctl enable dynamic_cloud_dns_client@$1.service"
should have dashes rather than underscores for "dynamic-cloud-dns-client@$1.service".
Otherwise when someone copies and pastes the message to enable the service they naturally get an error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.