I work as
- Cloud Data Engineer
- Backend Engineer (Django, FastAPI/Starlette)
Additionally, I contribute to open source projects like
or help the community on StackOverflow.
DynDNS client written in Python which updates DNS Records for your domains, currently supports Strato and Namecheap.
Home Page: https://github.com/regmibijay/strato-dyndns
License: GNU General Public License v3.0
I'm getting this error:
Failed to connect to external server: HTTPSConnectionPool(host='regdelivery.de', port=443): Max retries exceeded with url: /ip-api?src=stratodyndns (Caused by ConnectTimeoutError(<strato_dyndns.lib.requests_wrapper.HTTPSConnection object at 0x7f52ec98c1c0>, 'Connection to regdelivery.de timed out. (connect timeout=None)')),
make sure you have IPV6 network connectivity.
since 2024-06-25T11:43:01+0000 (first failure)
The timestamp is from my crontab log which is sheduled 43 * * * *
The IPv4 request seems to work in python and with curl:
curl https://regdelivery.de/ip-api?src=stratodyndns
84.44.229.xxx
but IPv6 not:
curl -6 https://regdelivery.de/ip-api?src=stratodyndns
curl: (28) Failed to connect to regdelivery.de port 443 after 130409 ms: Connection timed out
I added this temporary fix in my code for now:
self._EXTERAL_API_URL = "https://api.ipify.org:443?format=text"
self._EXTERAL_API_URL_V6 = "https://api64.ipify.org:443?format=text"
and use it in get_ip_v4
and get_ip_v6
. This seems to work for now.
But I guess the problem is on the regdelivery.de server.
Hallo,
I used your Python script to update my dyndns records at Strato. All worked fine, but there are 2 typo's in your MD file:
1- The automation section mentions strato-dyndns instead of strato_dyndns
2- The automaten section mentions the use of the script without the provider option (strato). But I needed to add the provider string strato to the command to het it working.
Thanks for your code....
Gr. Remco
Hello,
I downloaded the latest version today and got it working if I manualy add a ip address with the -ip flag.
But I want to use the -v4 flag to automate the process.
When I use the -v4 flag I get the following error:
"Could not process your parameters, reason: 'ip_addresses'"
I get the same error with the -v6 flag but I don't have a external ipv6 address so that could be a legit error.
This is the comand I use:
sudo strato_dundns strato -c cozy.json -v4
This is the cozy-json file (obv I use a fake domain and password here)
{ "username": "mycozysite.net", "password": "cozypassword1337", "domain": "mycozysite.net" }
Did I miss something on how the -v4 flag works?
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.