Commit 51fd8677 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Adds a script to test domains.

parent 05e1207e
cd /data/domains
echo "My IP is $my_ip"
for domain in `ls .`; do
domain_ip=`host ${domain} | awk '/has address/ { print $4 }'`
if [[ "${domain_ip}" != "${my_ip}" ]]; then
echo "$domain has this IP: $domain_ip"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment