Live data from Hacker News

Show HN: DNS over Wikipedia

github.com

71–80 of 109 posts

Re: Show HN: DNS over Wikipedia

#72
post #65

DNS translates a name into an IP address. This is not DNS per-se, it is just a search plugin for the url bar. 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.

Indeed. Even the GitHub repositories description has this error.

> 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?

Re: Show HN: DNS over Wikipedia

#74
post #26

> If you Google "Piratebay", the first search result is a fake "thepirate-bay.org" (with a dash) but the Wikipedia article lists the right one. — shpx How interesting. Bing doesn't do this, which leads me to believe it's not a matter of legality. Is Google simply electing to self-censor results that it'd prefer it's used not to know about? Strange move, especially given the alternative Google does index is almost def…

Google does list proper pirating sites! At the bottom of the page click on the DMCA complaint, you'll find all the URLs you shouldn't ever, never ever, click on~

> At the bottom of the page click on the DMCA complaint, you'll find all the URLs you shouldn't ever, never ever, click on~

I don't think everyone is seeing this, because sometimes I see this but sometimes not, seems to depend on the query. Searching for "piratebay" doesn't show it in the bottom (I live in an European country [also in EU]) and meanwhile, official thepiratebay website is blocked on a ISP level here.

Re: Show HN: DNS over Wikipedia

#76
post #65

DNS translates a name into an IP address. This is not DNS per-se, it is just a search plugin for the url bar. 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.

Indeed. Even the GitHub repositories description has this error. > 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…

Arguably, the plugin and resolver "resolve" domains under the top-level domain idk. However, the primary service provided is not DNS (which is not offered at all via the plugin), but HTTP redirection. DNS, on the other hand, serves a variety of applications, not just HTTP clients.

Re: Show HN: DNS over Wikipedia

#77
post #18

Pretty neat! Similarly, I often use Wikipedia to find translations for specific technical terms that aren't in bilingual dictionaries or Google Translate. If you go to a wiki page about a term, there are usually many links on the sidebar to versions in other languages, which are usually titled with the canonical term in that language.

Self plugging a quick page I wrote to do exactly this some time ago: http://adamhwang.github.io/wikitranslator/

Re: Show HN: DNS over Wikipedia

#78
post #65

DNS translates a name into an IP address. This is not DNS per-se, it is just a search plugin for the url bar. 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.

Indeed. Even the GitHub repositories description has this error. > 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…

I agree. DNS in conversation = K/V mapping pair for routing somewhere. TXT/MX/CNAME/A/WIKI etc. For the sake of this repo and what they're trying to get across this seems fair. I'm confused that I felt compelled to write this though.

Re: Show HN: DNS over Wikipedia

#79
post #7

Earlier quoted context omitted.

Maybe use WikiData? The slower rate of updates might work in your favour to avoid vandalism.

In my personal experience, Wikidata is often worse at detecting vandalism than Wikipedia. Wikipedia has more editors and so vandalism on Wikipedia tends to be noticed sooner. Wikidata gets less attention so vandalism can endure for much longer. With the increasing trend to pull data from Wikidata into Wikipedia, this is I think becoming less of an issue – even if nobody is watching the Wikidata item, if some vandalis…

> I don't think it is technically possible yet to filter out just the current ones, so instead Wikipedia is manually overriding the addresses from Wikidata.

Note that the historical ones are of “normal” rank, whereas the current ones have “preferred” rank. You can filter that when using the API, and when using the SPARQL endpoint, if you go for the “truthy triples” representation `wdt:P856` of the “official website” property, you will only get best-ran statements – in this case the preferred ones. If you want to be absolutely sure, you can go for the “reified triples” representation and query for statements that don't have any “end time” qualifiers.

Post reply on HN