Dig

dns-provider.list 114.114.114.114 114dns 119.29.29.29 dnspod 223.5.5.5 alidns 117.50.10.10 onedns 101.226.4.6 360dns-yidong 123.125.81.6 360dns-liantong 1.2.4.8 CNNICdns 8.8.8.8 GoogleDNS dns-chk.sh #!/bin/bash domain_name="$1" [ ! -z "$domain_name" ] || exit 1 cat dns-provider.list | while read line;do dns_provider_name="$(echo $line | awk '{print $2}')" dns_provider_ip="$(echo $line | awk '{print $1}')" echo $dns_provider_name dig +short @${dns_provider_ip} $domain_name echo "++++++++++++" done
Read more →

Telegram Webhook

// Cloudflare Worker example for Google Calendar integration // Your Google Calendar API base URL const GOOGLE_CALENDAR_API_BASE_URL = 'https://www.googleapis.com/calendar/v3'; // Replace 'YOUR_GOOGLE_CALENDAR_API_KEY' with your actual Google Calendar API key const GOOGLE_CALENDAR_API_KEY = 'YOUR_GOOGLE_CALENDAR_API_KEY'; // Replace 'YOUR_CALENDAR_ID' with your actual public holiday calendar ID const CALENDAR_ID = 'YOUR_CALENDAR_ID'; // Replace 'YOUR_TELEGRAM_BOT_TOKEN' with your actual Telegram bot token const TELEGRAM_BOT_TOKEN = '6489390855:AAHRAjPEKnT8DaVG50KYnR-lbKDadpbJiAA'; // Cloudflare Worker code addEventListener('fetch', event => { event.respondWith(handleRequest(event.request)) }) /** * Sends a Telegram response to the specified chat ID with the given message.
Read more →