Lurker News
Hey HN,

I saw a thread a while ago (linked in README) discussing how Wikipedia does a good job keeping track of the domains of websites like Sci-Hub or The Pirate Bay. Someone mentioned checking Wikipedia to find links to these sites, so I thought this would be a fun thing to automate!
To try it out, install an extension or modify your hosts file, then type in the name of a website with the TLD `.idk`.
For example: scihub.idk -> sci-hub.tw
Cheers!

Comments (104) 28 threads

Earlier comments
hk__2#
> Wikipedia keeps track of official URLs for popular websites

This should be Wikidata. Wikipedia does that, but this is more and more moved into Wikidata. This is a good thing, because Wikidata is much easier to query, and the official website of an entity is stored at a single place, that is then reused by all articles about that entity in all languages.

snek1 reply#
The extension has nothing to do with DNS, a more accurate name would be "autocorrect over wikipedia".

The rust server set up with dnsmasq is a legit DNS server though.

MatthewWilkes#
It isn't autocorrect either. It's domain name resolution.
Vinnl#
I created whereisscihub.now.sh a while ago for exactly this purpose (but limited to the subset of Sci-Hub, of course, and it used Wikidata as its data source). It has since been taken down by Now.sh.

Just as a heads-up of what you could expect to see happening :)

abiogenesis2 replies#
Nitpicking: Technically it's not DNS as it doesn't resolve names to addresses. Maybe CNAME over Wikipedia?
usmannk1 reply#
Nitpicking nitpicking: "Technically" CNAME is DNS insofar as DNS is "technically" defined at all.
datalist#
It is not even a CNAME. It is a JavaScript redirect based on the the response of an HTTP request to Wikipedia.
stepanhruda#
No one would click on “I’m feeling lucky for top level pages over Wikipedia” though

Load more comments