12 ms·
Show HN: Use any text as a domain name
- MWil 13y agoMy interest was piqued at document archival/confirmation uses.
- elwell 13y agothis is a bad idea that will never work /s
- infinitebattery 13y agoWhy do you think that? Please elaborate! HackerNews isn't supposed to be about trolling. Personally, I like the idea and i'm going to use it. However, it relies on people downloading the extension. If there are enough people using it (which is definitely possible) then it would be successful.
- pla3rhat3r 13y agoMaybe because it says that on the page that was submitted.
- infinitebattery 13y agoOkay, true. I concede. It's nevertheless interesting.
- elwell 13y ago/s indicates sarcasm
- rjknight 13y agoYou are entirely wrong. It is a good idea that will never work.
- sebastianconcpt 13y agoAgree, it's a good idea that, unfortunately, deals too much with big fishes (in private and gov sector)
- GSimon 13y agoWrong again! It's an interesting concept but only an ok idea that has no real world application given its limitations.
- lovemenot 13y agoIt need demonstrate only one useful real world application for you to be wrong. It does not need to become universal. As others have said, a web site that validates the consistency of its own content seems to have potential. I would also consider the Internet of Things; a Thing having its own IPv6 address and its own domain name. QR Codes can help take care of the intractability of long hashes.
- splatzone 13y agoThis is really cool. This is my favourite kind of idea; one that changes something fundamental in a succinct way. This makes me wonder how important domains are at all. My mum never even thinks about the domains for the websites she visits, she just types in 'ebay' and Google does everything for her. The only time I think about URLs (outside of coding) is when I have to share a link with someone, but I wonder if even that could be replaced with a sufficiently advanced search engine.
- snowwrestler 13y agoGoogle search indexing might be one downside of this system, as Google tends to give a lot of weight to domains that match your search term. But in this case the actual domain is a "nonsense" hash. Perhaps the browser extension could be set so that whenever a search term is entered, it submits Google searches for both the raw text and its hash. If Google has indexed a domain that is a hash, and that exact hash is submitted as a query, you would get the right result as #1 every time.
- splatzone 13y agoAccording to Moz it's hardly important at all: http://moz.com/search-ranking-factors http://moz.com/search-ranking-factors
- snowwrestler 13y agoExact match domain has the highest correlation of any on-page factor in that table--even higher than keywords in the title or H1.
- arn 13y agoReminds me of "RealNames". Dot-com era company. $130 million in funding. http://en.wikipedia.org/wiki/RealNames http://en.wikipedia.org/wiki/RealNames RealNames was a company founded in 1997 by Keith Teare. Its goal was to create a multilingual keyword-based naming system for the Internet that would translate keywords typed into the address bar of Microsoft's Internet Explorer web browser to Uniform Resource Identifiers, based on the existing Domain Name System, that would access the page registered by the owner of the RealNames keyword.
- pessimizer 13y agoSo intensely patent encumbered, then? :)
- byproxy 13y agoAlso, AOL Keywords.
- eli 13y agoAnd new.net, though I think that was basically malware. There were a lot of "DNS Alternatives" in the early 2000s.
- akurtzhs 13y agoGoogle Plus has the same deal now. Search for +Pepsi on Google and it takes you to Pepsi's Google Plus page. I'm certainly glad they stopped treating + as a search operator so we could get that feature in return.
- tshadwell 13y agoI think this could be accomplished without creating a new system of domain names by using visually similar non-ascii characters in an IDN[1]. "food in chicago.com" becomes "food⋅in⋅chicago.com" becomes "xn--foodinchicago-lj4hc.com" [1] https://en.wikipedia.org/wiki/Internationalized_domain_name https://en.wikipedia.org/wiki/Internationalized_domain_name
- mschuster91 13y agoIIRC these "visually similar" characters cannot be registered anymore due to widespread abuse in phishing/spam emails (päypa1.com, e.g).
- deleted 13y ago[deleted]
- nawitus 13y agoThey can, but there are limitations. For example, ä can only be used in certain countries (for example, a country where a large number of people speak a language that uses ä).
- bbosh 13y agoWell, DNS is nothing but a mapping from a domain name to an IP address. All this is is a mapping from a piece of text, to a domain name to an IP address. Alternatively, a mapping from a piece of text to an IP address. In other words, it's nothing but a domain name with different syntax.
- cviedmai 13y agoIn the interview that Eric Schmidt did to Julian Assange a few years ago, Julian talked about a similar system that I found quite interesting: http://wikileaks.org/Transcript-Meeting-Assange-Schmidt#602 http://wikileaks.org/Transcript-Meeting-Assange-Schmidt#602
- tomrod 13y agoThis is awesome! I wonder if this could be integrated with "I'm Feeling Lucky"? It would be good for most Google searches IMO.
- ffk 13y agoThis reminds me about how many people don't use domain names at all anymore. Many people probably type the name of their bank into the search bar and visit the first result. I've seen people literally pull up google to search for yahoo mail or ebay. Domain names are still useful, for a start they provide some level of authentication when mixed with cryptography. (If you visit https://news.ycombinator.com https://news.ycombinator.com, you can be relatively sure there is no MITM with certain conditions present). It would be interesting to see how this system can be adapted to work with our current Internet infrastructure.
- GilbertErik 13y ago--2014-01-01 16:45:59-- https://news.ycombinator.com/ Resolving news.ycombinator.com (news.ycombinator.com)... 198.41.191.47, 198.41.190.47 Connecting to news.ycombinator.com (news.ycombinator.com)|198.41.191.47|:443... connected. ERROR: The certificate of `news.ycombinator.com' is not trusted. ERROR: The certificate of `news.ycombinator.com' hasn't got a known issuer.
- asperous 13y agoOne downside of this is that you're using a secure one-way hashing function. This means that if for some reason you have the hashed url you can't get the clean one back. You could use something something like base64 instead.. might work better but it would remove the ability to use files as domain names.
- biot 13y agoA TXT DNS entry could identify the unhashed text, eg: @ TXT "v=sha1reverse; food in chicago" The browser could look this up, verify it, and display "#:// food in chicago" in the location instead of the hashed domain name.
- EvanHahn 13y agoThe first thing that came to my mind when I saw this: hash collisions. Could problems arise from two keywords that hit the same domain? Really cool idea, though.
- primitivesuave 13y agoWith SHA1 the chances of that happening are so close to zero that you'd have to create trillions of keywords before you even approach a minuscule chance of hitting a collision. One of my favorite analogies for SHA collisions: http://stackoverflow.com/a/4014407/690258 http://stackoverflow.com/a/4014407/690258
- dionyziz 13y agoIf you find a hash collision, let us know. As security people, we'd be very, very concerned if you can find even one collision or even engineer a collision in SHA1 or especially SHA256.
- desireco42 13y agoI love the idea, I've been thinking along similar lines. I would add less strict spelling, ie. spelling correction for existing domains, and for domains that are not recognized, go straight to search engine search (ie. google).
- gojomo 13y agoNeat idea! One quibble: since the essence is specifying a domain-name in a new way, it'd be good if the 'escaping' convention didnt' clobber/assume a single protocol/scheme. As it stands, it's not clear how this would be used for other schemes, even 'https'. Perhaps allow 'scheme#' (where naked '#' implies 'http#'), or move the convention entirely to the domain-name area rather than scheme area. ('#food in chicago' -> 'http://#food http://#food in chicago' -> 'http://f02970848a63988965aa40cd368ffcf9046209ca.com' http://f02970848a63988965aa40cd368ffcf9046209ca.com')
- Rabidgremlin 13y agoNice! reminds me of the "4 little words" thing I put together a few years ago http://blog.rabidgremlin.com/2010/11/28/4-little-words/ http://blog.rabidgremlin.com/2010/11/28/4-little-words/
- xd 13y agoNice idea, but I can see the hash clashing a bit with HTML anchors.
- lhgaghl 13y agoThis is like pet names but pointless. https://en.wikipedia.org/wiki/Petname https://en.wikipedia.org/wiki/Petname
- TeMPOraL 13y agoI might be missing something, but I completely don't get this idea, especially with the examples provided by the author. I have two major concerns: > Bind searches to domain names, eg "food in chicago" => f02970848a63988965aa40cd368ffcf9046209ca.com This IMO is bad, and goes in completely wrong direction. We've invented search engines to have such phrases not bound to a particular domain. Who would handle the "#://food in chicago" domain? Would it be Google? Bing? Yelp? Local restaurant chain? Or maybe some scammers? And who would maintain the completely different website "#://food in Chicago", and why "#://Food in Chicago" wants to silently install me some malware? The reason searching for such phrases makes sense, while having them as domains does not, is that things like "food in chicago" are poorly defined, fuzzy concepts. It would feel weird to change one letter in a query, or replace word "food" with, eg. "something to eat", and see completely different website. Moreover, major search engines are more or less egalitarian wrt. buisnesses. Yes, there's the whole SEO thing, but you can't get full control of what food joints are listed near your location just because you've managed to get the register first. I can (and do) trust listings from Google; they have both incentives and track record of being fair. I will never trust listings from random-autogenerated-squat-scam-business-site. Which brings me to the second point, > Good domain names are pretty scarce. It's a source of frustration for anyone who has ever tried to buy a domain. Yes, they are, and the primary source of frustration is that they are mostly taken by various squatters and other scums of the Internet. What will happen is that, the moment there's any real possibility such hash-domain scheme is introduced, all those evil people and companies will take all the domains like "#://microsoft", "#://android" and "#://insert any popular keyword or phrase here" in order to sell them back to real businesses for boatloads of money. And then we'll be back to square one, with maybe a little bigger domain space than we have right now. Bad people win, good people loose and nothing changed. So, again, the concepts behind this idea elude me.
- gahahaha 13y agoThe concepts that eluded you were so eloquently explained at the bottom: "This is just for fun! A proof of concept."
- EarthLaunch 13y ago
- jyap 13y agoThis won't work because to me this is similar in concept to URL shorteners. The difference being in the shortening algorithm and the use of expensive domains. So for example with current shorteners you have: http://shorturl.com/{algorithm http://shorturl.com/{algorithm for unique URL goes here} In the above case using a browser plug in can also eliminate any server side resolution of domains. With this proof of concept: http://{algorithm http://{algorithm for unique URL goes here}.com ... Except the implementation costs $ if it is to be accepted... And to be accepted it needs to have a benefit that isn't solved by URL shorteners.
- pudquick 13y agoI would be in favor of this idea if a little more thought was put into how the hashing function works. As it stands, someone typing in: food in Chicago will get a different URL than: food in Chicago And the same goes for: Chicago food, chicago food, food near Chicago, etc. Every one, with a single character difference (extra space, different word order, capitalization difference, regional spelling like theatre vs theater, etc) will result in a different hash. You've now made 'humanized URLs' into 'no one will guess your domain'. It's an interesting approach to avoiding search engines, but it doesn't solve the problem that search engines do solve: multiple similar but different entries resulting in the same "appropriate"/top website result. With this approach, not even face book, Facebook, and facebook would result in the same .com (and please don't suggest just purchasing a billion domains and redirecting them all).
- coherentpony 13y ago>As it stands, someone typing in: >food in Chicago >will get a different URL than: >food in Chicago Why?
- vezzy-fnord 13y agoIDN homograph attack.
- coherentpony 13y agoThanks.
- scintill76 13y agoAre you sure? I just pasted both into my UTF8-encoded Linux terminal running `od -tx1` and got the same hex octets. (Also tried in Chrome's JS terminal "<paste string>".split("").map(function(s) { return s.charCodeAt(0); }) ) It's quite probable I don't know what I'm doing, so I'd appreciate knowing how to do it properly. Also, since these strings would be typed, I'm not sure the homograph attack applies. Why would someone slip in a Cyrillic letter or something while typing the URL themselves? If extended to clickable links that displayed the pre-hash text, I could see the issue, but pudquick specifically said "someone typing in" the two URLs.
- colmmacc 13y agoThis mechanism is half way to a suggested scheme for domains that are less vulnerable to single-actor take-downs, posted here on HN a few days ago; https://news.ycombinator.com/item?id=6964090 https://news.ycombinator.com/item?id=6964090 . In short; instead of merely mapping to [hash].com the extension could map to [hash].com, [hash].se , [hash].ly, [hash].is, [hash].ch and then use a quorum consensus of whatever answer 3 or more of those names agree on. Effectively each TLD registry (and each of your registrars), along with their regulatory environment, would lose the ability to take down your name without international agreement. For certain niches, such a feature might be a good enough value proposition to ordinary users to convince them to install an extension. Other observation; 36-ary is probably a better encoding for the hash data than hex. DNS isn't great with lengthy answers and every byte is worth conserving. But it's cool to see something interesting like this in the form of a browser extension.
- mtrimpe 13y agoOr even ZCode32 to help with readability for when you need to copy written hashes. :)
- Patrick_Devine 13y agoThe is a horrendously horrible idea, for the same reason why unicode domain names are a bad idea. Domain names are important because they provide a reasonable amount of trust. If I type http://apple.com http://apple.com, I'm 99.99999% certain that I've connected to Apple's website. This gets nasty with unicode, because a person can spam your email account and get you to click on a URL which looks very similar to something like apple.com, but really points to a malicious site (thank you cyrillic characters). Hash based domain names would be even worse. You have no idea what site is lurking behind some big string of hex digits. You could argue that a person should just compare the hash to some known set of hashes, but that's a. cumbersome and b. unrealistic. If it's done by humans, it's error prone (a malicious site could spoof the first few chars to point to their site), and if it's done by computers, what's the point? You've now effectively created a really shitty replacement for DNS.
- mjolk 13y ago>The is a horrendously horrible idea, for the same reason why unicode domain names are a bad idea. So, you suggest that non english speakers should just "learn it" to use DNS?
- Patrick_Devine 13y agoUntil we can figure out something that doesn't suck, yes. Look, I'm sympathetic with a huge chunk of the world's population having to deal with a (potentially) unfamiliar character set, but what can you do about it? There has to be some standard that everyone can agree to which doesn't compromise the integrity of the net.
- jawns 13y agoThis might at first sound like a xenophobic, anglocentric position, but it actually makes quite a bit of sense. There are a number of instances in which it is advantageous / critical to adopt a lingua franca -- that is, a single language that everyone in the world agrees to use for a particular purpose. In the case of domain names, Patrick is right: If we allow characters that appear to be one thing but are actually another, it opens up a whole bunch of evil possibilities.
- jrochkind1 13y agoTo the extent that TLD's are namespaces of hostnames, it's just adding the equivalent of another TLD, but implementing it as a weird proprietary extension on top of .com. Why?
- MichaelGG 13y agoSome people don't remember RealNames and other keyword systems, and thus must reinvent them to realise it's a bad idea?
- gfodor 13y agojust think, if you add a salt that you can change to switch "virtual DNS networks" then everyone can own their own google.com!
- Aqueous 13y agoI dont really want my mid-level domains to potentially be hashes - I want domains at all levels to be intelligible and, optimally, to be named what they are, i.e. foodinchicago.com or food_in_chicago.com or food in chicago.nlp_name Perhaps enabling spaces in domain names is possible? Since spaces in filenames are allowed I don't see why spaces in names shouldn't be allowed. And then you could have a default root domain for natural language names - .nlp, for instance, and then just assume that name when someone types in a natural language URI with no tld. We could use something like NameCoin for this TLD to avoid collisions.
- lessnonymous 13y agoI don't get the benefit .. the only 'pro' I can think of (spaces in domain names) would be better answered by allowing a space-to-double-hyphen transcoding so hxxp://food in chicago.com/ encodes to hxxp://food--in--chicago.com Pros: * Domains can now have spaces Cons: * Domains are now case sensitive * You visit a domain and it isn't reversible * The google-juice assigned to domain names is gone
- jayzalowitz 13y ago759730a97e4373f3a0ee12805db065e3a4a649a5.com is available, someone inform cutts
- glesica 13y agoFun story, some of the older (hehe, older as in "older than 30 or 35) people here might remember that in the 90s there was a startup that did exactly this but with a browser plugin as I recall (well, not exactly, they didn't hash the text, but they took arbitrary plain text and mapped it to a URL). The idea was to sell short sentences to companies, so "seinfeld TV show" (or whatever) in the address bar would have gone to the NBC "Seinfeld" web site, etc. I think the idea was to make "deep" links easier for people to remember, but I don't remember the details, I just remember that it existed and I probably read about it in PC Magazine.
- FrankenPC 13y agoThis would have some interesting implications for MVC architectures.
- omegote 13y agoAaand another Chrome extension that bundles jQuery just to do a couple of element selections that could have been done using querySelectorAll...
- munimkazia 13y agoFortunately, it is open source. Sending a pull request later this evening when I fix this.
- chavesn 13y agoMy initial thought: This is terrible, because how would we ever know which sites we can trust? Something as tiny as an extra space would change the hash value. But on second thought, the real problem is that we (the web technology community) have assumed domain names are even a remotely suitable proxy for trust. I don't think most common web users actually get this point. That's why phishing is so easy (except for the part about getting a phishing email past spam filters). Do you think most people really know (or notice) the difference between webaccess.bankofamerica.com and webaccess.bankofamerica.x8.co? I doubt it. So the real fix for this situation is creating a true trust system that most actual end users can understand and rely on. Then, it seems only natural for something like this to be the future. UUIDs will act as the underlying addressing technology with "whatever you want" as your display name. And as a bonus, it will really cut down on the cybersquatters' profitability.
- Shank 13y agoIt would be really cool if a tool like this could be used to resolve TOR services' names into hidden service urls. That would make TOR more useful in general, if you could #://wikileaks, for instance.
- MichaelGG 13y agoHidden service URLs are intrinsic to the security of connecting to them. That's why they're complicated. By adding a second resolution step, you introduce a lot of security issues. How is a user assured that "bla:wikileaks" is the "real" wikileaks, for whatever value of "real" you choose?
- gbog 13y agoThis is quite an interesting experiment, and a step in the good direction, which should and must lead us to the complete removal of domain names. Why are domain names bad? That should be obvious. The main symptom of domain names' inherent brokenness is that the law must patch it so that an unknown squatter cannot kidnap some domain, e.g. register "france.com" and ransom it to the people who are most qualified to claim it. This is ridiculous: the squatter should not have had the opportunity to squat this (I know it doesn't apply for "France" but it applies for many other names). Nowhere in the world we see kids grab the seat in front of the fireplace and not let their grandma have it. Moreover, what if a single ascii string refers to two different things equally claimable by two groups of people? E.g. what about "francfort.com"? Which city would it refer to? A contrieved case: If Chinese people chose a translitteration scheme for their language so that "google" would mean China, wouldn't they have some rights over google.com? This level of brokenness is not even because of a leaky abstraction, this is a sunken boat everyone has to use to cross the river. On a more philosophical stance, domain names are wrong because they build a kind of universal language out of nowhere, grounded on nothing, whitout any kind of democratic digestion and acceptance by human beings. We could have a universal language shared by all humans, but it would be a very long process of slow acceptance, with a percolation through all societies all over the world. In this way, there would be many adjustments, reverts, and eventually we would come up with a set of names that is good enough, but right now domain names are just a musical chairs game that is ridiculous and must be stopped. So I think using a string's hash is a nice step, because it starts blurring the domain name. However, I think a much better scheme should be to use the hash of the page content as the domain name. In this case, once the hash is determined, who cares where it is, who care which domain it has? It would just be way to download the content. And the job of search engines would be to point us to these hashes. And dynamic content you tell? Which dynamic content? Does one really care about changes in wiki pages? And for the twitter feed, each tweek is a fixed content snippet, and the javascript fetching them is also fixed, or could be a browser extension. And an up-to-date search engine would have the latest hash for a keyword such as "twitter" or "The Guradian". A nice side-effect would be that domain name based censorship would become ineffective. And downloading content could be just some p2p checkouts.
- MichaelGG 13y ago
- yoyo1999 13y agoThere was a Chinese company call 3721. They did a similar thing about 10 year ago. They were acquired by Yahoo. Yahoo 3721 was closed about 5 years ago.
- stock_toaster 13y agorot13 domain names are the future? Humorously, tbbtyr.com is already taken. I wonder about memfrob based domain names.
- jacooqs 13y agoI like the concept but it still doesnt the solve the problem: The concept is that if it were accepted by browsers, devs wont have to struggle with squatters for domain names. So instead we register the hash for a word or phrase we want to use and us that as the domain. BUT. nothing stops the squatters doing the same thing on this new concept. the squatters will just register the hash leaving you in the same problem as before
- neil_s 13y agoDomain names are already a layer of indirection, a friendly way to specify IP addresses. This layer would be a friendly way to specify domain names that are a friendly way to specify IP addresses. And you gain not much else besides the ability to add spaces. Still, the implementation approach is interesting.
- jlees 13y agoAs a tangent, I read this earlier today and then got annoyed at not having a quick URL shortener on hand (I got spoiled at my last job, where I could use internal shortcuts for complex URLs like create new Google Doc / link to specific doc, etc). So, decided to write my first Chrome extension, modelled loosely on your domain name hashing, and here it is: https://github.com/jennielees/jump https://github.com/jennielees/jump It's entirely a personal itch-scratcher, but thank you for the inspiration!