1775866cd5
Fixed a logic bug when retrieving WAN IP.
2023-03-10 22:53:38 +01:00
85a02aad9e
Updated output.
2022-10-18 17:35:11 +02:00
e49d1e526d
Fixed WAN_IP_COMMAND and added defaults for RECORD_TYPE and RECORD_TTL
2022-10-12 23:13:14 +02:00
18ae8bb993
Added support for WAN_IP_COMMAND directive.
2022-10-12 22:34:33 +02:00
802ebd0d12
Completely rewritten. POSIX compliant, easier to use and maintain
2022-10-12 16:32:42 +02:00
NyneR
fa3597c31e
Fix check if variable was set
2021-12-11 18:04:42 +01:00
NyneR
5d7c9f0ca4
Add IPCOMMAND directive
...
Added "IPCOMMAND" to provide a way to specify the IP without using curl.
2021-12-11 17:49:20 +01:00
Eduard Veit
ef034e519c
GH-25 Getting the Domain-Record-ID via XML-RPC API
...
Signed-off-by: Eduard Veit <developer@ev21.de>
2020-07-03 23:53:33 +02:00
cb382a25bf
Made shebang portable
2020-05-12 22:54:35 +02:00
Philipp Sperber
a410ba172b
Made time to live configurable
2020-03-31 15:27:11 +02:00
Eduard Veit
fafbdd172f
fixing API-XML syntax and add some documentation
2019-12-20 18:55:41 +01:00
90229cf1c2
Fixed a bug with logging.
2018-10-12 07:41:51 +02:00
Christoph Schulz
fad5cfaef8
Echo log file.
2016-08-08 09:34:49 +02:00
Benedikt Geißler
a01d99ab9a
the silent mode did still output several lines of text.
...
This commit fixes it mostly.
2016-04-21 23:36:34 +02:00
Benedikt Geißler
107ba9ad83
improve indentation
...
using $(...) instead of `...` is a better style
2016-04-21 23:34:04 +02:00
Benedikt Geißler
899af06837
replace single brackets by double ones (more modern style)
2016-04-21 23:31:04 +02:00
Benedikt Geißler
cfc96da133
replace occurences of "1>/dev/null 2>&1" by "&> /dev/null"
2016-04-21 23:09:38 +02:00
ea6830ed92
config file checks and sample config
...
Changed the way the existence of config files is checked. It may be a
bit slower than before when there are many config files but maybe it
avoids other trouble.
Updated the sample config.
2015-07-22 21:50:01 +02:00
Philip
7ef671af06
Fixed the check for config files. Can now handle more than one file.
2015-06-30 20:12:59 +02:00
Philip
1cb3c06072
Changed warning for missing config files
2015-06-28 01:29:43 +02:00
ba24522d07
Merge pull request #5 from Brinkyeti/master
...
added support for mx records and some sort of silent ouput/logs
2015-01-12 18:38:09 +01:00
OranJuiceJohnes
17f2f04c66
Added checks
...
Added checks for needed commands and existance of config file.
2015-01-12 01:47:22 +01:00
Stefan Bader
10127f462e
added support for mx records:
...
set MX=YES in your .config file if the DOMAIN specified in
the .config file is actually an mx record.
currently only supported when using nslookup and not drill.
added SILENT mode:
if SILENT is set to NO the output and the logmessages
remain the same.
if SILENT is set to something else than NO or not set then
neither will there be an output nor a log message as long
as the ip-address doesn't change
2014-12-26 00:28:50 +01:00
da10330885
Added IPv6 suppport and config files
2014-02-22 09:44:38 +01:00
8fc04ac46b
Small bugfixes an new compatibility with FreeBSD10
...
- Changed default IP check site to ifconfig.me
- Added a switch to use _drill_ instead of _nslookup_ because FreeBSD
10 switched from _bind_ to _unbound_
- Renamed _$HOSTNAME_ to _$DOMAIN_ to work around potential conflicts
with _$HOSTNAME_ that's set by the host itself
2014-02-02 10:49:00 +01:00
Georg Meyer
0496b5c761
Source config file relative to script
2014-01-06 21:22:56 +01:00
c21d5a3a14
First commit.
2013-07-12 02:51:22 +02:00