Hacker News new | ask | show | jobs
by sberman 2101 days ago
I started this project after doing some research about how DNS works and learning about the CZDS, where any interested individual can request access to DNS zone files. I realized that I could turn this into a website, especially since I couldn't find anything similar on the internet. I used their Python API to download all the zone files, then wrote a Python script to scrape them into one file with only the domain names. I then stored these in a MySQL database on my web server, and used AJAX + PHP to retrieve and redirect to the domain. One thing I think is cool about this is that it gives you a sense of the websites that constitute most of the internet, not just the most popular ones. And unless you've clicked the button over 200 million times, you are almost certainly going to get a website you've never seen before.
3 comments

It would be cool if, before redirecting, you detected parking pages and internally spun again.

I’ve clicked several times and keep hitting parking sites.

Thank you for this.
I'm glad you like it!
how do you get access to those CZDS files?