| changeset 9 | 8c143dccc517 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/conf/dns.conf Wed Apr 13 14:00:47 2011 +0200 @@ -0,0 +1,4 @@ +# Checks DNS A record $1 on server $2 +# Returns exit code of host(1) command: 0 - Ok, 1 - error +# (Hint: define value map for 0, 1) +UserParameter=host[*],host -W 3 $1 $2 > /dev/null; echo $?