They're also leaking their RPZ lol
This is a trimmed down version removing duplicates, this:
$TTL 900
@ SOA localhost. aduankonten.mail.kominfo.go.id. (
23111901 ;Serial
1000 ;Refresh
1000 ;Retry
2592000 ;Expiry
900) ;TTL
@ IN NS localhost.
*.
and this:
3600 IN CNAME lamanlabuh.aduankonten.id.
- Get repo perms
- Use Linux
- Make a .sh file and paste this in
#!/bin/bash
# 4. git clone https://YOUR_USERNAME:[email protected]/lepasid/blocklist_rpz.git in your Documents folder
# (If you just git clone normally, do git remote add origin https://YOUR_USERNAME:[email protected]/lepasid/blocklist_rpz.git in the $TARGET_DIR folder)
TARGET_DIR=~/Documents/blocklist_rpz
FILE_NAME="$(date +"%Y-%m-%d")"
SOURCE_URL=KOMINFO'S SITE, IF YOU WANT TO KNOW WHAT IT IS JOIN OUR DISCORD
GIT_USERNAME=YOUR_USERNAME
GIT_EMAIL=YOUR_EMAIL
cd "$TARGET_DIR"
rm domains
if [ -e "$FILE_NAME" ]; then
rm "$FILE_NAME"
fi
aria2c --check-certificate=false -x4 -o domains_cache "$SOURCE_URL"
tail -n +12 domains_cache | sed -e "s/3600 IN CNAME lamanlabuh.aduankonten.id.//g" -e "s/\*\.//g" | awk '!seen[$0]++' > domains
rm domains_cache
cp domains $FILE_NAME
git lfs track domains
git lfs track "$FILE_NAME"
git add .gitattributes
git add domains
git add "$FILE_NAME"
git commit -m "Add $FILE_NAME"
git config user.name "$GIT_USERNAME"
git config user.email "$GIT_EMAIL"
git rebase
git push -u origin main
cd ..
echo "Script completed successfully."
- chmod +x YOUR_FILE.sh
- ./YOUR_FILE.sh
- Enjoy