Python script for finding blocked sites on Indian ISPs

  • Thread starter Thread starter JB701
  • Start date Start date
  • Replies Replies 37
  • Views Views 8,458
If anyone knows any public Indian DNS Servers which blocks sites please do tell me. I know Jio LTE Default DNS returns 49.44.79.236 for many blocked sites but LTE is unreliable for large number of DNS Queries I want to do.
 
On my oracle server is already at 290 websites with ~325k sites scanned. I don't know if its because if its because of different transit or whether my original run missed sites due to network issues.
 
Last edited:
Last edited:
~4899/10 million sites blocked https://raw.githubusercontent.com/s...iteslist/tlsblockedsites-oracle-10million.txt


Many are subdomains though, Airtel/TATA are likely blocking by regex or wildcards

I have combined multiple potentially blocked sites list and the blocked sites among top 1million and top 10 million sites, removed duplicates and sorted. ~11896 sites. Though there are www subdomains which need to be removed


After removing subdomains and duplicates, its https://raw.githubusercontent.com/s...-oracle-combined-nosubdomains-duperemoved.txt 6651 sites.

This should be a significant chunk of all the blocked sites but clearly not even close to how much there is.



NOW ITS TIME FOR 260 MILLION
 
Last edited:
Now I'm running a the search on 260 million domains. The csv file was ~4GB so I had to split it to ~130 smaller files with 2million domains each.

After ~14hrs of running it has already found ~620 domains which was kinda surprising considering the large amount to be checked. I'm running the same on another Oracle VPS to make sure no domain is missed.
 
This is not completely related to the original topic but I thought it was worth mentioning.

Apparently Mikrotik RouterOS has a feature to match packets by TLS Host. This can be used to easily policy route blocked sites over a VPN without relying on IP Based policy routing (by resolving blocked sites using DNS) which can have issues because of subdomains, ip changes etc. Its a shame that this feature isn't available on PFSense.

 
Back