Commit Graph

16 Commits

Author SHA1 Message Date
90229cf1c2 Fixed a bug with logging. 2018-10-12 07:41:51 +02:00
fad5cfaef8 Echo log file. 2016-08-08 09:34:49 +02:00
a01d99ab9a the silent mode did still output several lines of text.
This commit fixes it mostly.
2016-04-21 23:36:34 +02:00
107ba9ad83 improve indentation
using $(...) instead of `...` is a better style
2016-04-21 23:34:04 +02:00
899af06837 replace single brackets by double ones (more modern style) 2016-04-21 23:31:04 +02:00
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
7ef671af06 Fixed the check for config files. Can now handle more than one file. 2015-06-30 20:12:59 +02:00
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
17f2f04c66 Added checks
Added checks for needed commands and existance of config file.
2015-01-12 01:47:22 +01:00
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
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