schlund-ddns's People
schlund-ddns's Issues
add config file option instead of parsing cmd line args
FIXME: Please don't take password from cmd line arg (ps/ proc/ history vulnerability).
better: ~/.schlund-ddns with config && parse args for rest / adjustments.
Also: small typo in readme. Should probably be "schlund-ddns --help" instead of "ddns-update --help" under Usage section.
Sorry for not providing a pull request, i've looked at a quick fix for passing PASS via config file but this uses gocept.logging.ArgumentParser() that I'm not familiar with.
Thanks for the handy schlund-ddns updater!
--quiet --verbose does not work or what is the difference?
root@raspberrypi:~# schlund-ddns --quiet --config /etc/schlund-ddns.conf lan.mydomain.com 154.123.12.1
Zone wurde erfolgreich auf dem Nameserver aktualisiert.
root@raspberrypi:~# schlund-ddns --verbose --config /etc/schlund-ddns.conf lan.mydomain.com 154.123.12.1
Zone wurde erfolgreich auf dem Nameserver aktualisiert.
root@raspberrypi:~# schlund-ddns --config /etc/schlund-ddns.conf lan.mydomain.com 154.123.12.1
Zone wurde erfolgreich auf dem Nameserver aktualisiert.
Enable 2FA for Schlundtech API, unfortunately no access token available
hi,
thanks for your great work!
Since i have 2fa activated i am not able to use schlund-ddns anymore.
Please add support for 2fa.
Some python library's already available, eg:
https://github.com/pyauth/pyotp
thanks in advanced,
timm
Fix zone requests with a.b.c.example.tld type domains
Problem:
host and domain are split at first occurence of splt_char in update.py resulting in a wrong zone domain for sub-levelled subdomains (e.g. a.b.example.tld is split in "a","b.example.tld", therefore an error is raised because of zone not found).
proposed quick fix:
$ diff /usr/local/lib/python3.7/site-packages/ws/ddns/update.py ./update.py
60c60,62
< host, domain = hostname.split('.', 1)
---
> tmp = hostname.split('.')
> domain = '.'.join(tmp[2:])
> host = hostname.replace('.'+domain,'')
there will be a cleaner fix for this I guess, which is why i don't submit a pull request.
Again, thank you for creating the great package!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.