๐ฐ๏ธ Quick tool to see if you can reach common IPs, resolve DNS, and load popular sites โ Test country blockages and VPNs.
Perform a fast series of checks from your current network to help you understand whether common web stuff is reachable and how fast (ping, DNS, popular news and social websites).
- Ping some wellโknown anycast IPs like 1.1.1.1 and 8.8.8.8
- Resolve DNS A records for some major domains like google.com and bing.com
- Fetch your public IP and rough geo-location (city / region / country) from ipinfo.io
- The returned location may be inaccurate, e.g. VPN in UAE may show England
- Try to reach a set of popular websites in several countries, reporting:
- Country
- HTTP status or timeout / error
- Latency in ms
Using standalone executable, download and run from https://github.com/rigwild/blockcheck/releases
# Download latest release for macOS M1 (ARM64)
curl -L -o blockcheck-macos-m1-darwin-arm64 https://github.com/rigwild/blockcheck/releases/latest/download/blockcheck-macos-m1-darwin-arm64
# Allow run permission then run
mv ./blockcheck-macos-m1-darwin-arm64 ./blockcheck
chmod +x ./blockcheck
./blockcheckUsing Node.js.
npm run build
node dist/index.js
npm install -DUsing Bun.
bun install
bun run src/index.tsGenerate a binary than can be run standalone, without requiring a Node.js/Bun installation and without dependencies (only available with Bun).
See https://bun.com/docs/bundler/executables
You can also just download it from GitHub releases at https://github.com/rigwild/blockcheck/releases
# Build for your current system
bun build src/index.ts --compile --sourcemap --target=bun --outfile bin/blockcheck
chmod +x bin/blockcheck
./bin/blockcheck
# ---
# Linux arm64
bun build src/index.ts --compile --sourcemap --target=bun-linux-arm64 --outfile bin/blockcheck-linux-arm64
# Linux x64
bun build src/index.ts --compile --sourcemap --target=bun-linux-x64 --outfile bin/blockcheck-linux-x64
# macOS arm64 (M1)
bun build src/index.ts --compile --sourcemap --target=bun-macos-darwin-arm64 --outfile bin/blockcheck-macos-m1-darwin-arm64
# macOS x64
bun build src/index.ts --compile --sourcemap --target=bun-macos-darwin-x64 --outfile bin/blockcheck-macos-darwin-x64
# Windows x64
bun build src/index.ts --compile --sourcemap --target=bun-windows-x64 --outfile bin/blockcheck-windows-x64.exeEdit the constants near the top of index.ts:
PING_HOSTSโ list of IPs to ICMP ping once each.DNS_HOSTSโ hostnames to Aโrecord resolve.SITESโ array of{ host, country }entries (ISO 3166โ1 alphaโ2 exceptXXused here for "Other").CHECK_CONCURRENCYโ max concurrent website fetch.CHECK_TIMEOUT_MSโ perโsite timeout (ms) for theHEADrequest.
Just append / delete objects in the SITES array.
Currently HEAD is used in httpProbe (utils.ts) to reduce data transfer. Change to GET if you need deeper reachability checks (increases bandwidth / time).
| Issue | Hint |
|---|---|
ping: command not found |
Ensure ping is available (minimal containers may lack it). |
| All pings fail | Possible local firewall / ICMP blocked. |
| DNS failures | Check local resolver / network connectivity. |
| All HTTP probes timeout | Likely egress filtering or captive portal. |
| Public IP fetch fails | Temporary issue reaching ipinfo.io or blocked; retry or substitute another service. |
$ bun run src/index.ts
๐ Starting blockcheck...
๐ถ Ping
โ
1.1.1.1 โ 7 ms
โ
8.8.8.8 โ 6 ms
โ
9.9.9.9 โ 77 ms
โ
192.0.43.10 โ 97 ms
โ
4.2.2.2 โ 28 ms
๐๏ธ DNS Resolution
โ
bing.com โ 150.171.27.10, 150.171.28.10
โ
google.com โ 172.217.168.174
โ
nytimes.com โ 151.101.1.164, 151.101.129.164, 151.101.193.164, 151.101.65.164
๐ถ Public IP & Geo-Location
IP: 138.199.62.200
Location: Hong Kong, Hong Kong, HK
๐ Loading Websites
โ
๐ฆ๐บ Australia www.abc.net.au โ HTTP 200 (304 ms)
โ
๐ง๐ท Brazil www.globo.com โ HTTP 200 (804 ms)
โ
๐จ๐ฆ Canada www.cbc.ca โ HTTP 200 (237 ms)
โ
๐จ๐ณ China weibo.com โ HTTP 200 (2609 ms)
โ
๐จ๐ณ China www.baidu.com โ HTTP 200 (858 ms)
โ
๐จ๐ณ China www.taobao.com โ HTTP 200 (47 ms)
โ
๐จ๐ณ China www.zhihu.com โ HTTP 405 (403 ms)
โ
๐จ๐บ Cuba www.granma.cu โ HTTP 200 (2026 ms)
โ
๐ช๐ฌ Egypt english.ahram.org.eg โ HTTP 403 (78 ms)
โ
๐ซ๐ท France www.lemonde.fr โ HTTP 200 (46 ms)
โ
๐ฉ๐ช Germany www.dw.com โ HTTP 200 (80 ms)
โ
๐ญ๐ฐ Hong Kong hongkongfp.com โ HTTP 200 (155 ms)
โ
๐ฎ๐ณ India timesofindia.indiatimes.com โ HTTP 200 (176 ms)
โ
๐ฏ๐ต Japan www3.nhk.or.jp โ HTTP 200 (563 ms)
โ
๐ฒ๐ฒ Myanmar www.irrawaddy.com โ HTTP 403 (113 ms)
โ
๐ดโโ ๏ธ Other thepiratebay.org โ HTTP 200 (1699 ms)
โ
๐ถ๐ฆ Qatar www.aljazeera.com โ HTTP 200 (68 ms)
โ
๐ท๐บ Russia www.rt.com โ HTTP 200 (304 ms)
โ
๐ท๐บ Russia yandex.ru โ HTTP 200 (908 ms)
โ
๐ธ๐ฆ S. Arabia english.alarabiya.net โ HTTP 403 (136 ms)
โ
๐ฟ๐ฆ S. Africa www.news24.com โ HTTP 403 (54 ms)
โ
๐จ๐ญ Switzerland www.swissinfo.ch โ HTTP 200 (4563 ms)
โ
๐น๐ผ Taiwan www.taiwannews.com.tw โ HTTP 200 (1068 ms)
โ
๐น๐ท Turkey www.hurriyetdailynews.com โ HTTP 200 (271 ms)
โ
๐ฆ๐ช UAE gulfnews.com โ HTTP 200 (114 ms)
โ
๐ฆ๐ช UAE telegram.org โ HTTP 200 (164 ms)
โ
๐ฆ๐ช UAE wam.ae โ HTTP 200 (2765 ms)
โ
๐ฌ๐ง UK www.bbc.com โ HTTP 200 (76 ms)
โ
๐ฌ๐ง UK www.middleeasteye.net โ HTTP 200 (103 ms)
โ
๐บ๐ธ USA github.com โ HTTP 200 (226 ms)
โ
๐บ๐ธ USA wikipedia.org โ HTTP 200 (246 ms)
โ
๐บ๐ธ USA www.amazon.com โ HTTP 405 (239 ms)
โ
๐บ๐ธ USA www.google.com โ HTTP 200 (200 ms)
โ
๐บ๐ธ USA www.hrw.org โ HTTP 200 (201 ms)
โ
๐บ๐ธ USA www.nytimes.com โ HTTP 200 (247 ms)
โ
๐บ๐ธ USA www.tiktok.com โ HTTP 200 (572 ms)
โ
๐บ๐ธ USA www.whatsapp.com โ HTTP 400 (235 ms)
โ
๐บ๐ธ USA www.youtube.com โ HTTP 200 (345 ms)
โ
๐ป๐ช Venezuela noticias24venezuela.net โ HTTP 200 (550 ms)