baka may alam kayo script dyan mga paps, ayaw kasi gumana yun mga nasa github..salamat.
# SlowDNS Auto Script
URL="http://yourserver.com/dns.php"
USERNAME="your_username"
PASSWORD="your_password"
while true; do
IP=$(curl -s http://checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')
echo "Current IP Address: $IP"
curl "$URL?username=$USERNAME&password=$PASSWORD&ip=$IP"
sleep 10
done
# SlowDNS Auto Script
URL="http://yourserver.com/dns.php"
USERNAME="your_username"
PASSWORD="your_password"
INTERVAL=10
while true; do
IP=$(curl -s http://checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')
echo "Current IP Address: $IP"
wget -qO- --post-data="username=$USERNAME&password=$PASSWORD&ip=$IP" "$URL"
sleep $INTERVAL
done
# SlowDNS Auto Script
URL="http://yourserver.com/dns.php"
USERNAME="your_username"
PASSWORD="your_password"
while true; do
IP=$(wget -qO- http://ipecho.net/plain)
echo "Current IP Address: $IP"
curl "$URL?username=$USERNAME&password=$PASSWORD&ip=$IP"
sleep 10
done
URL
, USERNAME
, at PASSWORD
ng tamang mga halaga para sa iyong server. Maaari mo ring baguhin ang INTERVAL
upang i-adjust ang pagitan sa pagitan ng mga update.