Show HN: DNS over Wikipedia (opens in a new tab)github.com
398 pointsHey 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
Show all comments
Showing thread 1 of 28
If an analogy was needed with a network service perhaps this is more like a proxy redirector than DNS.
Keep in mind: with this you will still be misdirected if your DNS/hosts file is pointing the name into a different IP than it should be.
> Resolve DNS queries using the official link found on a topic's Wikipedia page
@aaronjanse: you probably want to correct this. "Resolving DNS records" carry a specific meaning in that you have a DNS record and you "resolve" it to a value, which actually. You're kind of doing, in a way, I suppose.
I was convinced when I started writing this comment that calling this "resolve dns queries" is wrong. But thinking about it, DNS resolving is not necessarily resolving a "name into a IP-address" as @HugoDaniel in the comment I'm replying to is saying (think CNAME records and all the others that don't have IP addresses). It's just taking something and making it into something else, traditionally over DNS servers. But I guess you could argue that this is resolving a name into a different name, that then gets resolved into a IP address. So it's like a overlay over DNS resolving.
Meh, in the end I'm torn. Anyone else wanna give it a shot?
This project is still doing key -> value. It just fetches the value from Wikipedia first, much like your normal dns servers have to fetch non-cached keys from their sources (other dns servers normally)?
Let's call that sneaksolving (from the infamous sneakernet/FloppyNet)
Continue this thread — 5 replies