Replace name by IP, remove unused tables

This commit is contained in:
andre.peters
2017-12-09 22:30:18 +01:00
parent eb08b39c0a
commit 6c67b9df82
2 changed files with 1 additions and 46 deletions

View File

@@ -6,7 +6,7 @@ while read QUERY; do
echo "500 dunno"
continue
fi
result=$(curl -s http://nginx:8081/forwardinghosts.php?host=${QUERY[1]})
result=$(curl -s http://172.22.1.251:8081/forwardinghosts.php?host=${QUERY[1]})
logger -t whitelist_forwardinghosts -p mail.info "Look up ${QUERY[1]} on whitelist, result $result"
echo ${result}
done