🌐 G·TM GTM DNSTT GUIDE

codered26

Forum Expert
GTM SCRIPT WITH NETWORK BOOST

GUIDE:
run this script in your termux

pkg update && pkg upgrade -y && pkg install dnsutils -y

wait matapos ma install, if ask to update package maintainers version just type "N" for default and enter

after matapos ang pag load ng dnstt utils, isip pangalan ng script mo, halimbawa naisip mong file name "gtm"
run mo ang script na to

nano gtm.sh && chmod +x gtm.sh && ./gtm.sh l

or

halimbawa naisip mong filename "speedgtm" ito naman irun mo

nano speedgtm.sh && chmod +x speedgtm.sh && ./speedgtm.sh l

gets?

papalitan lang content ng script na to

nano gtm.sh && chmod +x gtm.sh && ./gtm.sh l

base sa name ng gusto niyo

after niyo ma run ang script na yan

paste niyo itong dnstt script booster,pero bago ipaste iedit muna ang nameserver at A record ng server mo sa script


#!/bin/bash
# CREDITS ©ODE®ED
# GTM DUAL SERVER SCRIPT

NS='type.your.nameserver.here'
NS1='type.yoursecond.nameserver.here'
A='type.Arecord.of.your.first.server'

LOOP_DELAY=3

declare -a HOSTS=('112.198.115.44' '121.54.70.149' '112.198.115.60' '112.198.115.36' '124.6.181.4' '124.6.181.36' '124.6.181.12')

network_booster() {
echo "Starting network booster..."
while true; do
for host in "${HOSTS[@]}"; do
ping -c 1 "${host}" >/dev/null &
done
wait
done
}

###################################
VER=1.0
if ! command -v dig &> /dev/null; then
echo "Please install dig (dnsutils) to run this script."
exit 1
fi

endscript() {
unset NS NS1 A LOOP_DELAY HOSTS
exit 1
}

trap endscript 2 15

check() {
for ((i=0; i<"${#HOSTS[@]}"; i++)); do
for R in "${A}" "${NS}" "${NS1}"; do
T="${HOSTS}"
if [ -z "$(dig "@${T}" "${R}")" ]; then
echo -e "\e[31mFailed - Querying: ${R} from ${T}\e[0m"
else
echo -e "\e[32mSuccess - Querying: ${R} from ${T}\e[0m"
fi
unset T R
done
done
}

echo "DNSTT Keep-Alive script <Created by @codered>"
echo -e "DNS List: [\e[1;34m${HOSTS[*]}\e[0m]"
echo "CTRL + C to close script"

if (( LOOP_DELAY == 1 )); then
LOOP_DELAY=$((LOOP_DELAY + 1))
fi

case "${1}" in
loop|l)
echo "Script loop: ${LOOP_DELAY} seconds"
network_booster & # Start the network booster in the background
while true; do
check
echo '.--. .-.. . .- ... . .-- .- .. -'
sleep "${LOOP_DELAY}"
done
;;
*)
check
;;
esac

exit 0



then pag na paste mo na click CTRL then X then Y then enter


ayon at running na ang dnstt script mo, test mo na kay gtm using gtm dns resolvers/gtm ip dns

PS:
kapag nag exit ang termux mo dahil na auto kill ng phone mo, punta lang ulit kay termux at irun ang filename using this command

. /gtm.sh l

at ayown running ulit yang script

do this if nag exit si termux para mag run ulit siya
 
thanks paps, keep sharing kakapanood ko lang netong method na toh

may napansin lang ako para isa lang nareread niyang dns ip
 

Similar threads

About this Thread

  • 61
    Replies
  • 5K
    Views
  • 35
    Participants
Last reply from:
Kurokroko

Trending Topics

Online now

Members online
623
Guests online
3,389
Total visitors
4,012

Forum statistics

Threads
2,325,775
Posts
29,224,256
Members
1,169,591
Latest member
Testwaters004
Back
Top