News for hackers. Stuff that matters.
Re:The GNU Name System by miki123211 on Monday July 25, 2022 @09:30AM (#32223967)
This might be an unpopular opinion, but I think that decentralized DNS, and decentralized naming in general, is one of the few use cases that can be neatly solved by a blockchain, but is extremely hard to solve any other way.

A major problem when designing a decentralized naming system, or any naming system at all really, is preventing malicious users from grabbing all the cool names for themselves. The only way to do this is to make acquiring domains costly, and blockchains are a perfect way to enforce that in a decentralized manner. Other problems include accurately tracking domain ownership and letting the owners transfer domains to others, which cryptocurrencies have solved long ago. As an added benefit, because all domains in such a system are owned by a public key, we suddenly no longer need a root of trust for TLS, instead, we accept any TLS certificate signed by that public key.

Re:The GNU Name System by cowtools on Monday July 25, 2022 @10:29AM (#32224789)
I don't have a lot of faith in the namecoin or namecoin-derivative solutions. Just because an agent has a lot of cryptocurrency or hash power doesn't mean they should be able to steal or squat a domain. There are security consequences for domain ownership.

Users should get to explicitly decide for themselves who owns what domain, or delegate that power to a trusted authority to decide for them. GNS enables this behavior.

I think namespacing is a rather poor use-case of this type of consensus.

Re:The GNU Name System by NoGravitas on Monday July 25, 2022 @12:30PM (#32226749)
Yeah, namecoin was a pretty dramatic failure — every interesting domain on it was squatted early on, when it was cheaper to do so.
Re:The GNU Name System by aaaaaaaaata on Monday July 25, 2022 @01:42PM (#32228084)
Differing itself from ICANN in what way, exactly?
Re:The GNU Name System by tptacek on Monday July 25, 2022 @02:03PM (#32228415)
In exactly the way stated.
Re:The GNU Name System by User23 on Monday July 25, 2022 @03:55PM (#32230074)
I think the point being made was that all the identifiably good DNS names got squatted back in the 90s when they were free.
Re:The GNU Name System by hnthrow1010 on Monday July 25, 2022 @01:02PM (#32227353)
>This might be an unpopular opinion, but I think that decentralized DNS, and decentralized naming in general, is one of the few use cases that can be neatly solved by a blockchain, but is extremely hard to solve any other way.

It's an unpopular opinion because it doesn't hold up to scrutiny. Here, let's go through it piece by piece:

>A major problem when designing a decentralized naming system, or any naming system at all really, is preventing malicious users from grabbing all the cool names for themselves.

This has nothing to do with malicious users. Any system that allows users to exclusively claim names permanently (or semi-permanently) will have this problem. Even if you invented a way to define and eject all malicious users out of DNS, domain names like facebook.com and youtube.com would still be highly contended and expensive, because of the inherent demand of those names in the current market.

>The only way to do this is to make acquiring domains costly

No, that wouldn't exclude malicious customers, it would only exclude customers who don't have a lot of money. You'd just select for the customers who are both malicious and wealthy.

>and blockchains are a perfect way to enforce that in a decentralized manner.

In practice, blockchains aren't decentralized at all. This much was obvious to anyone involved, since the first bitcoin mining pool formed in 2010. By making the system costly to join, you're only accelerating the process of centralization.

>Other problems include accurately tracking domain ownership and letting the owners transfer domains to others, which cryptocurrencies have solved long ago.

Cryptocurrencies didn't solve this and never will. A blockchain isn't legally binding, so tracking ownership just can't be done there. At best, you can have something that's an approximation of ownership, but still requires a trusted authority (i.e. an oracle) to make the final say on what the ownership actually is.

>As an added benefit, because all domains in such a system are owned by a public key, we suddenly no longer need a root of trust for TLS, instead, we accept any TLS certificate signed by that public key.

This is just shifting the problem. Now instead of worrying about trusting the root, you have to worry about trusting every single key out there, and make an individual decision for each of them.

Re:The GNU Name System by miki123211 on Monday July 25, 2022 @02:37PM (#32228956)
> No, that wouldn't exclude malicious customers, it would only exclude customers who don't have a lot of money. You'd just select for the customers who are both malicious and wealthy.

If domains cost $0, claiming all potentially useful names for yourself costs x*0=$0. Someone will inevitably do that, making them the exclusive owner of almost all domains you could ever want to buy. As a consequence, 99% of potential future domains would be owned by malicious actors, who could charge astronomical prices for them. In other words, if you make domains free, somebody will snatch them all up and sell them for a lot of money.

If you need to make a payment to get or renew a domain, such an attack becomes far more costly. Getting the first 100 English words is probably worth it, getting a combination of all possible names and surnames probably isn't, unlike in the free version. That way, you can still find interesting domains that you actually need for low dollar amounts.

> In practice, blockchains aren't decentralized at all. This much was obvious to anyone involved, since the first bitcoin mining pool formed in 2010. By making the system costly to join, you're only accelerating the process of centralization.

Even if you can make a 51% attack, the security of the system isn't compromised. Sure, you can prevent domain registrations, transfers and updates for a while, maybe even reverse transactions done in the last few blocks, but you still can't take over anybody's domain without having their private key.

> Cryptocurrencies didn't solve this and never will. A blockchain isn't legally binding, so tracking ownership just can't be done there. At best, you can have something that's an approximation of ownership, but still requires a trusted authority (i.e. an oracle) to make the final say on what the ownership actually is.

You don't care about ownership in the legal sense, all you care about is that if Mark Zuckerberg owns the private key for Facebook.com today, nobody can do anything to Facebook.com tomorrow without his consent.

> This is just shifting the problem. Now instead of worrying about trusting the root, you have to worry about trusting every single key out there, and make an individual decision for each of them.

All TLS really guarantees is that the server you're contacting is trusted by the owner of the domain you typed in. In the current system, you need a root of trust to accomplish that, blockchains give you that property for free.

Re:The GNU Name System by agentultra on Monday July 25, 2022 @10:02AM (#32224446)
Or you can simply trust the organization bootstrapping the naming system by other means and not use a blockchain to defend against this hypothetical scenario at a high energy/compute cost.

Some reasonable measures:

1. the organization could be a non-profit co-operative owned individually by its investors 2. the organization could establish a contract that enforces desired behaviour of participants by the judicial system

Voila, no blockchain needed.

Re:The GNU Name System by solardev on Monday July 25, 2022 @11:08AM (#32225439)
That only works if the users trust their government(s), where geopolitics are stable, and where freedom from censorship is a cultural norm. All of those things are increasingly rare, and centralized domain names are an easy way for states or competing governments to block access to undesirable materials.

The allure of a supranational DHT network is that it is more censorship-resistant, requiring deep packet inspection or attacks to block certain lookups.

I think this hypothetical consensus-based DNS blockchain sounds nice at first glance, but really, it just means that DNS is changed from an authority-based model to a consensus-based one. But consensus of what? It's not of people, but of resources -- compute power -- which states will always have more of, anyway. Like TOR, it just means the state has to control/surveil more "trusted" nodes. So it doesn't really solve anything.

You can't "web of trust" a global network of 8 billion people who don't have any interest in this stuff, don't want to peg their individual identities to some online system, and don't agree on what truth is to begin with. You can't techno-topia your way out of the cultural differences inherent in geopolitical disagreements.

Re:The GNU Name System by agentultra on Monday July 25, 2022 @11:33AM (#32225806)
> You can't techno-topia your way out of the cultural differences inherent in geopolitical disagreements.

Too true.

Computers won't "solve" social/political/cultural issues. They're reflections of the creators' politics. Even blockchains that purport to be egalitarian reflect the political ideology of their creators -- often naive at best or tyrannical themselves at worst.

Re:The GNU Name System by woojoo666 on Monday July 25, 2022 @08:07PM (#32232637)
> it just means that DNS is changed from an authority-based model to a consensus-based one. But consensus of what? It's not of people, but of resources -- compute power -- which states will always have more of, anyway.

If a blockchain became the norm, there would be no way for the state to have more compute power than the rest of the population

Re:The GNU Name System by solardev on Monday July 25, 2022 @08:48PM (#32232950)
What do you mean? Blockchains are already heavily lopsided. Throwing state resources into the mix would only make that worse.
Re:The GNU Name System by woojoo666 on Tuesday July 26, 2022 @02:13AM (#32234918)
You think the government would have more than 51% of the compute power of the entire world? If that were true they could easily break TOR
Re:The GNU Name System by solardev on Tuesday July 26, 2022 @11:19AM (#32239581)
Yes, quite trivially? Compute power is more a function of dollars than population. Don't they already surveil most Tor exit nodes?
Re:The GNU Name System by woojoo666 on Wednesday July 27, 2022 @07:25AM (#32249171)
> Yes, quite trivially? Compute power is more a function of dollars than population.

There is no way the government has enough servers and computers to come even close to 51% of the world's compute. And if they tried to print money and buy it all, it would be seen as ridiculous and the government would be sacked.

Also, surveilling TOR exit nodes is very different from owning over 51% of all TOR relays. The former won't help you deanonymize users, the latter most definitely will

Re:The GNU Name System by rvense on Monday July 25, 2022 @10:07AM (#32224501)
Correct.

And as and user who does not understand, nor have the resources to meaningfully inspect, all the king's software and all the king's bugs, the end result is exactly the same: Good, old-fashioned analogue trust (GOFAT? to coin a phrase?) in the elves that make my computer run.

Re:The GNU Name System by qweqwerwerwerwr on Monday July 25, 2022 @07:32PM (#32232354)
voila, it isn't any different than the current system.
Re:The GNU Name System by agentultra on Monday July 25, 2022 @10:00PM (#32233395)
While far from perfect the existing system has many properties that are good enough.

Protecting against malicious users grabbing all of the good names first using zero-trust blockchain networks requires the protections we all know against Sybil attacks. These protections are problematic for numerous reasons I don't think I need to enumerate here.

The point is that not solving that problem results in a system that is far less complicated and resource efficient. Some times the better solution is to rely on social/political/judicial systems instead of protecting against hypothetical malicious actors.

Re:The GNU Name System by qweqwerwerwerwr on Tuesday July 26, 2022 @12:07AM (#32234134)
- they are nowhere nearly good enough. the current system satisfies only one criteria of the 'security, user-chosen names, and decentralization' trifecta, and even that just barely.

- all the good dotcoms have been squatted on since the 90s (that's why half the startups have gibberish names). particularly desirable domains are being squatted on even on all the random dotbullshit nu-tlds.

- the social/political/judicial systems are the very reason why there are so many attempts to build an alternative to registrars and DNS

I will readily agree that so far all attempts have failed though, being either too complex/clunky, or tainted with a crypto grift - I'm actually happy that namecoin/ens/handshake/etc got virtually no adoption. but it has to be done eventually. the entire industry is a scam and rent-seeking with unlimited profit margins

Re:The GNU Name System by timetraveller26 on Monday July 25, 2022 @09:46AM (#32224191)
Re:The GNU Name System by NoGravitas on Monday July 25, 2022 @12:34PM (#32226804)
Re:The GNU Name System by edent on Monday July 25, 2022 @10:48AM (#32225096)
Which Blockchain? If you use, for example, .eth on one chain - there's literally nothing stopping me from instigating a new chain which also uses .eth

So you either have to disambiguate names at a protocol level (miki://whatever.eth vs edent://whatever.eth) or at a name level (whatever.eth.miki vs whatever.eth.edent)

Or, you convince everyone in the world to standardise on one chain. In which case, how's that difference from what we have already?

Re:The GNU Name System by tsujp on Monday July 25, 2022 @09:36AM (#32224054)
See: Ethereum Name System (https://ens.domains/)
Re:The GNU Name System by rvz on Monday July 25, 2022 @12:33PM (#32226787)
ENS is a good example of a working concept of blockchain domains and is the only type of NFT that cannot be 'right-click saved', unlike the JPEG ones.

However, Coinbase (part of the 7 admin keyholders of ENS) had a closer look at .eth addresses and their use in their wallet and decided to remove support for it and instead use .id for their Coinbase wallet. [0]

Why did they do this? It turns out that:

   "New crypto users with no previous exposure to ENS would make the false assumption that the ".eth” domain only works" for sending and receiving $ETH."
I guess it really does make sense to anchor both .eth, .id, etc on Handshake [1] after all. The concept of ENS is fine for .eth, but it doesn't seem to be enough to prevent this sort of basic confusion.

[0] https://twitter.com/matt_willemsen/status/154901782285598310...

[1] https://handshake.org

Re:The GNU Name System by hnthrow1010 on Monday July 25, 2022 @12:50PM (#32227082)
There's also the matter that ENS "solves" the problem by reintroducing a central point of failure: the smart contract itself. Anything blockchain-adjacent really can't conceivably be called "decentralized".
Re:The GNU Name System by bouncycastle on Monday July 25, 2022 @10:49AM (#32225122)
ENS leads by far in the blockchain space. Almost 2 million names registered.

Stats: https://dune.com/makoto/ens

Note that ENS is not only ETH, it supports multiple coins, and it's also compatible with the legacy DNS namespace, so it's possible to import & use tlds such as .com

Re:The GNU Name System by NoGravitas on Monday July 25, 2022 @12:36PM (#32226832)
How many of those names are not squatted, and have non-trivial content?
Re:The GNU Name System by schanzen on Monday July 25, 2022 @09:57AM (#32224357)
Theoretically, you could combine a blockchain-based root zone governance (e.g. Handshake) with GNS. This would give you globally unique names and efficient and private delegated names.

In general, not a fan of BNS beyond that, through, as upkeep is too resource intensive. It is just not a sustainable and efficient thing to do for names.

Re:The GNU Name System by colinsane on Monday July 25, 2022 @03:01PM (#32229312)
or you can go the Secure Scuttlebutt route where the user resolves a name based on some simple function of how your peers (which you explicitly choose) resolve it.

Blockchain DNS will probably happen first, but i think name resolution which doesn’t require global consensus is under-appreciated. it’s like if i ask wikipedia (or a non-localized Google) for the page on “i3”, v.s. asking a random selection of my friends for the page on “i3”: i’m just always going to get a better result by more heavily weighting the response of my peers than the responses of people far-removed from me.

Re:The GNU Name System by PhineasRex on Monday July 25, 2022 @01:29PM (#32227852)
As long as you don't mind the astronomical operating cost once such a system reaches the scale of DNS, sure.
Re:The GNU Name System by NoGravitas on Monday July 25, 2022 @12:30PM (#32226738)
You could solve decentralized naming with a blockchain. But blockchains have negative externalities (yes, even proof of work), and decentralized DNS can be solved without one (with a DHT being an obvious part of the solution).
Re:The GNU Name System by the_gipsy on Monday July 25, 2022 @09:41AM (#32224123)
Why does this not exist?
Re:The GNU Name System by Avamander on Monday July 25, 2022 @10:26AM (#32224758)
It does, but has tradeoffs we don't want. Like having no way to curb abuse.
Re:The GNU Name System by qweqwerwerwerwr on Monday July 25, 2022 @07:41PM (#32232434)
on the contrary, that's the thing we want the most. having no way to curb abuse is what gave Tor a few orders of magnitude more adoption than the other alternative internets. having no way to curb abuse is what made crypto market what it is.
Re:The GNU Name System by Avamander on Monday July 25, 2022 @08:20PM (#32232737)
it's really not. not I or anyone I know wants a web filled with malware, CSAM or spam that is difficult to remove. Onion links already being the Russian roulette they are, the tendency is rather clear, nobody* really wants that.
Re:The GNU Name System by madacol on Tuesday July 26, 2022 @07:04AM (#32236699)
You should decouple existing from experiencing it. Me too, like you, don't want to experience what I consider malware, spam, etc.

The problem is that malware and spam have gray areas where some people are ok with it, but others don't.

We should allow all of those existing, and instead limit what we experience by filtering/censoring

In other words, instead of censoring globally, we should censor locally at a community level

Re:The GNU Name System by Avamander on Tuesday July 26, 2022 @07:14AM (#32236771)
In theory that's a reasonable approach, in reality we've tried that on the web with all the restrictions we have. Antiviruses, real-time spam blocklists, adblockers all perpetually try to catch and block malicious actors, so far they haven't succeeded. On the local level as well, registrars have to follow local laws.

I don't think it would be any easier if you can't take any recourse besides blacklisting a pubkey there could be billion billions of. Even things that have no gray area would be nearly impossible to curtail in large volumes.

Re:The GNU Name System by madacol on Thursday July 28, 2022 @06:34PM (#32270871)
Most of those methods will still work under a decentralized DNS, because although it's decentralized at the global layer, there will still be centralized clusters

What you won't be able to do is remove at the root, and instead you blacklist

My claim is that under a decentralized DNS, "removing" or "blacklisting" have the same effect on what you consume because you are always in control.

The BIG difference is that, under a decentralized DNS, no one controls anymore what OTHER people consume/trust. And I am strongly against of any group of people limiting how other groups communicate between themselves, even if these "other groups" are sharing child pornography. I'm open to some data about this, meanwhile I have a strong bias into thinking the cure is much worse than the disease

Re:The GNU Name System by qweqwerwerwerwr on Monday July 25, 2022 @11:34PM (#32233956)
it's not the name servers' job to deal with any of that, especially on the clearnet
Re:The GNU Name System by Avamander on Tuesday July 26, 2022 @06:34AM (#32236490)
It's the host of those name servers' job, yes.
Re:The GNU Name System by qweqwerwerwerwr on Tuesday July 26, 2022 @02:59PM (#32242442)
you're arguing that its yellow pages job to remove the entry for businesses that violate laws. not only is that not the case, that's profoundly absurd.
Re:The GNU Name System by Avamander on Tuesday July 26, 2022 @04:05PM (#32243270)
It is! If a doctor listed on yellow pages is not really a doctor then they shouldn't be there to mislead people. This analogy extends wonderfully, really. If that fake doctor is also infecting people with illnesses or takes pictures secretly, then it's not only a legal mandate, it's also an ethical one.
Re:The GNU Name System by qweqwerwerwerwr on Tuesday July 26, 2022 @05:12PM (#32244092)
and that's the authority you choose to report such a transgression to - not the police, not the oversight agencies, but the yellow pages? that's who you expect to investigate your report a make a judgement about its validity?
Re:The GNU Name System by Avamander on Tuesday July 26, 2022 @05:25PM (#32244263)
Reporting to the law enforcement and removing a "number" are not mutually exclusive. But law enforcement has got their hands full with the more illegal stuff already. So leaving the not too difficult to detect - simple spam, scam and malware to the registrars and hosts to deal with - is not ridiculous.

I'm really sorry, but this infrastructure has functioned for more than two decades. It takes a massive amount of manhours daily to deal with abuse. How can you unironically defend and claim that a system that removes most punitive measures will be good or usable? Is it delusion or naivety?

Re:The GNU Name System by qweqwerwerwerwr on Tuesday July 26, 2022 @06:39PM (#32244991)
it is an observation. the two systems without punitive measures I have provided as an example in my original comment - crypto and tor - have been doing alright for more than a decade.
Re:The GNU Name System by panick21_ on Monday July 25, 2022 @09:45AM (#32224177)
It exists, many times over