Sunday, August 14, 2022
CryptoGrounds.org
No Result
View All Result
  • Home
  • Cryptocurrency
  • Bitcoin
  • Blockchain
  • Market & Analysis
  • Crypto Mining
  • Ethereum
  • Litecoin
  • Xrp
  • Dogecoin
CryptoGrounds.org
No Result
View All Result
Home Bitcoin

Simplifying Bitcoin Addresses DNS – Bitcoin Magazine

crypblzu by crypblzu
August 4, 2022
in Bitcoin
0
Simplifying Bitcoin Addresses DNS – Bitcoin Magazine
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter

Related articles

Countries where Bitcoin (BTC) is legal

Countries where Bitcoin (BTC) is legal

August 14, 2022
Bitcoin Is The Hills – Bitcoin Magazine

Bitcoin Is The Hills – Bitcoin Magazine

August 14, 2022


That is an opinion editorial by Mark Jeftovic, cofounder and CEO of easyDNS Applied sciences Inc. and creator of “Managing Mission Essential Domains and DNS.”

From the second I found Bitcoin again in 2013, I knew there would ultimately should be a option to reference pockets addresses utilizing human-readable labels.

The large drawback with Bitcoin’s lengthy addresses is that they aren’t memorable, and regardless of the pseudonymous or nameless options of Bitcoin, lots of the time you need to have the ability to simply assert or confirm {that a} pockets handle belongs to a particular entity — suppose donations to a charity or a crowdfund. This impacts each blockchain.

As a DNS (area title system) man, I’ve seen this film earlier than: DNS was invented to unravel the identical drawback with IPv4 addressing. Over time DNS advanced to do way more — not solely did DNS add the aptitude to resolve IPv6 addresses, however it’s also more and more used to convey metadata a few namespace. Assume SRV records, NAPTR’s, RBL blocklists, response policy zones (RPZs) and the ubiquitous TXT record (which is used for SPF, DMARC, DKIM and the rest that doesn’t natively match the protocol).

Alongside comes Bitcoin and now we have the identical drawback, writ massive.

The Downside Particular To Bitcoin And Lightning

It’s wanting like a lot of the fee transaction exercise will transfer to Layer 2 with protocols like Lightning, and most lately the appearance of the Lightning Address.

Lightning Addresses rely on the LNURL-pay protocol, and so they look just about like an electronic mail handle:

the lightning address satoshi domain

by way of: https://github.com/andrerfneves/lightning-address/blob/grasp/README.md

The e-mail handle nomenclature is the right option to convey identification data. It simply demarcates organizations and additional subdivides to items or individuals inside it. All people is already used to this format and as we’ll see, has the potential to convey way more data than vacation spot mailboxes.

For years I used to be anticipating this format turning into the de facto customary for identification endpoints with Session Initiation Protocol (SIP) and XMPP.

SIP and XMPP didn’t take over the world fairly the way in which I anticipated them to (a minimum of not but) and for some time, identifiers began gravitating towards centralized platforms like Twitter handles and Github person IDs. I all the time discovered this quizzical, particularly amongst Bitcoiners.

With Lightning Addresses we see a path again towards decentralized identifiers, since electronic mail addresses are themselves decentralized, inside the limits of the DNS system itself (extra on that under).

There’s just one drawback: the LNURL spec as outlined is lacking a stage of abstraction. With out it, the use case for Lighting Addresses turns into very constrained.

Given the Lightning Handle:

satoshi@instance.com

Which means underneath the present specification, the fee descriptor can be situated at:

https://instance.com/.well-known/lnurlp/satoshi/

However what if Satoshi doesn’t have entry to the instance.com webserver? If we stick to the e-mail handle analogy: simply because you may have this as your handle doesn’t imply the server with the matching hostname is the place the e-mail will get delivered.

In truth that’s in all probability not the case extra typically than it’s. For that reason there exists the MX document sort in DNS, which provides an additional stage of indirection to manage the vacation spot for electronic mail. They could direct electronic mail supply to hostnames working underneath a totally completely different area title (take into consideration individuals who use an exterior electronic mail supplier, however with their very own customized area).

The identical factor must occur with Lightning Addresses for largely the identical causes. The hostname to the appropriate of the ‘@’ might not have a webserver in any respect, or the person is unduly confined to utilizing a Lightning Handle the place the hostname part can solely be that of the webserver the place the JSON file is hosted. That may be an issue when publishing a Lightning Handle that the person desires to alter down the street.

As a DNS man, the answer appeared apparent however I used to be responsible of overthinking it:

In 2017 I used to be invited by what was then the Ethereum Title Service Working Group to a gathering in London to work out the specification for the ENS registry.

I left that assembly considering that there must be a brand new DNS useful resource document, a brand new document sort that will be capable to reference blockchain sources from inside the legacy DNS.

In my thoughts it will look one thing like a SRV or NAPTR document, which had completely different fields for protocols, ports and weightings (the truth that net browsers in the present day nonetheless don’t have a look at SRV information for net addresses is likely one of the nice missed alternatives of the web age).

My working shorthand for it was “BCPTR” for “Blockchain Pointer” and it had an overcomplicated, convoluted specification for mentioning precisely which blockchain a document was pointing at and what sort of useful resource it was.

Then within the Lightning GitHub challenge, the place the LNURL RFC was being mentioned, any individual suggested simply prepending an address with the “_lud16” subdomain.

Utilizing underscores to distinguish sure naming attributes from precise hostnames has been round for awhile. It was used within the authentic SRV RR spec RFC2872 and later described as “underscore scoping” in RFC 8552.

The suggestion instantly exploded in my mind and I noticed that I had been overthinking this for years.

A scoped label in DNS, like _tcp or _udp, are case insensitive and we see them in SRV and NAPTR information to be used in SIP, VOIP and ENUM purposes, load balancing, to not point out in TXT information for DKIM and DomainKeys.

Fairly properly any legitimate DNS label, like _lud16 or _btc, supplies us with a mechanism to restrict a response to a question matching the scope, underneath the father or mother node within the DNS tree.

That means:

$ORIGIN instance.com.
_ie.check IN TXT “this can be a check”

_eg.check IN TXT “this can be a separate check”

A DNS question for sort TXT on “check.instance.com” won’t return a solution (NXDOMAIN).

A DNS question for sort TXT on “_ie.check.instance.com” will solely return a end result for the primary document.

A DNS question for sort TXT on “check._ie.instance.com” will solely return the second document.

In different phrases, now we have a number of TXT information for the check.instance.com leaf, nonetheless, we’ll solely return the one queried with the scoped label, the one which begins with an underscore.

It seems that is fairly highly effective for our functions. It is usually the simplest, optimum answer in our use case as a result of:

  • All people can use it.
  • It’s a format individuals simply acknowledge.
  • It may be retrofitted onto any current electronic mail handle by way of DNS.
  • It supplies the flexibility for a json document to exist someplace apart from the server (like how an MX document features).
  • Can present any type of payload.
  • Can work throughout all blockchains.

How Underscore Scoping Might Be Used In Blockchains

By taking the e-mail handle format utilized in Lightning Addresses: , we are able to use the conference by way of the DNS to specify all types of endpoints for a similar identification:

$ORIGIN bombthrower.com.
_lud16.markjr IN TXT “https://my.ln-node/.well-known/lnurlp/markjr“
_btc.markjr IN TXT “bc1qu059yx6ygg9e6tgedktlsndm56jrckyf3waszl”
_ens.markjr IN TXT “0xEbE7CcC5A0D656AD3A153AFA3d543160B2E9EdFb”

We are able to get there from right here with out breaking something already in place:

  • Functions already utilizing LNURL handle can all the time hold utilizing that
  • Functions can add the DNS lookup

However DNS Is Centralized!

It’s true that DNS has an inverted tree construction that terminates on the root “.”. However even that root is pretty decentralized, comprising hundreds of servers operated by a minimum of 13 disparate operators. The legacy DNS could also be logically centralized however in actuality features extra like a decentralized federation of types.

Even that is altering, evolving. I feel the place we ultimately find yourself is the place namespaces straddle each the prevailing inverted tree root and absolutely decentralized blockchains.

A few of that is already right here in the present day: you could possibly use one thing like Stacks and .btc domains which pins to Bitcoin and there’ll in all probability be different namespaces constructed straight atop Bitcoin.

Not all decentralized namespaces have legacy DNS resolvers, however that can change too. There may be additionally work being performed on a brand new DNSresolvers implementation which is able to resolve Stacks, .btc, and HNS domains by Handshake, and Unstoppable top-level domains. You may check it by way of lookups to alpha.dnsresolvers.com:

% dig +quick easydns.btc @alpha.dnsresolvers.com

3.14.49.122

(This server is proof-of-concept and can go away sooner or later, please don’t add it to your resolv.conf.)

All This, And It Solves The Pretend Twitter Deal with Downside Too!

As soon as we make it a conference to make use of underscore scoping, we discover we are able to remedy all method of issues utilizing current strategies.

Let’s have a look at the faux Twitter deal with drawback that plagues the Bitcoin area.

The information construction of a Twitter person appears like this:

structure of twitter user data

With underscore scoping we are able to assert the true Twitter deal with from the hostname within the url ingredient utilizing the next conference:

$ORIGIN bombthrower.com.

stuntpope._twitter IN TXT “StuntPope”

*._twitter IN TXT “faux”

By itself, this doesn’t do something. No one goes to open up a terminal window and kind:

“dig -t TXT +quick stuntpope._twitter.bombthrower.com”

… to search out out if the individual DMing you, “How is your buying and selling going in the present day?” is actually me, or one of many legions of StuntPope imposters on the market on Twitter. (I’m kidding after all, no one of their proper thoughts would impersonate me. However for lots of the fintwit luminaries, this can be a actual drawback.)

However what can occur if this turns into the conference, is builders can construct fast and soiled hooks into their apps to do these lookups.

When a faux Twitter profile impersonates somebody, they sometimes copy all the information verbatim, together with the hostname within the URL discipline of the Twitter profile. If the true person has the information outlined above, then the conference of wanting up the faux Twitter deal with on the actual URL will miss the precise _twitter TXT document for the true profile, and hit the wildcard document, inflicting a mismatch.

twitter chicken with a bar through face

We’ve launched a proof-of-concept Chrome extension by way of the easyDNS Github, which does simply that with three modes:

A) No data asserted;

B) The profile matches the knowledge asserted;

C) The profile doesn’t match the knowledge asserted (it’s a faux).

All this and extra, may be performed utilizing quite simple conventions in a ubiquitous protocol that’s already deployed.

twitter proof of verification easy API use

Conclusion

Pockets addresses lend themselves to needing some type of naming mechanism. There are a number of use circumstances the place the necessity to securely assert an handle from an identification takes priority over pseudonymity or anonymity.

Additional, to make use of human-readable labels or identifiers, we’d like an abstraction layer that gives flexibility and a format that’s simply recognizable.

Lastly, we are able to obtain all this utilizing the DNS, which already underpins the technical infrastructure of the web, is already a decentralized federation and on its option to anchoring on decentralized Layer 1 protocols. We are able to accomplish that with out including any new document sorts or making any protocol additions to the prevailing specs.

This can be a visitor put up by Mark Jeftovic. Opinions expressed are solely their very own and don’t essentially mirror these of BTC Inc or Bitcoin Journal.



Source link

Tags: AddressesBitcoinDNSMagazineSimplifying
Share76Tweet47

Related Posts

Countries where Bitcoin (BTC) is legal

Countries where Bitcoin (BTC) is legal

by crypblzu
August 14, 2022
0

Sometimes there are macroeconomic components {that a} nation is trying to handle via the adoption of a forex as...

Bitcoin Is The Hills – Bitcoin Magazine

Bitcoin Is The Hills – Bitcoin Magazine

by crypblzu
August 14, 2022
0

That is an opinion editorial by Captain Sidd, a finance author and explorer of Bitcoin tradition.I’ve spent a lot...

Ethereum hits 8-month highs in BTC as money heads for ‘riskier’ altcoins

Ethereum hits 8-month highs in BTC as money heads for ‘riskier’ altcoins

by crypblzu
August 13, 2022
0

Ether (ETH) is value extra in Bitcoin (BTC) than at any time because the begin of the yr amid...

Protect Yourself With Multi-Factor Authentication – Bitcoin Magazine

Protect Yourself With Multi-Factor Authentication – Bitcoin Magazine

by crypblzu
August 13, 2022
0

That is an opinion editorial by Heidi Porter, an entrepreneur with 35 years in know-how.Consumer SafetyIn earlier articles about...

Fallout from crypto contagion subsides but no market reversal just yet

Fallout from crypto contagion subsides but no market reversal just yet

by crypblzu
August 13, 2022
0

The blockchain business confirmed some stunning resilience in July, which can level to a interval of larger basic help...

Load More
  • Trending
  • Comments
  • Latest
A California democrat’s joke during Wednesday’s crypto hearing has spurred the creation of ‘mongoose coin’ | Currency News | Financial and Business News

A California democrat’s joke during Wednesday’s crypto hearing has spurred the creation of ‘mongoose coin’ | Currency News | Financial and Business News

December 10, 2021
Shiba Inu, Litecoin, Loopring Price Analysis: 20 November

Shiba Inu, Litecoin, Loopring Price Analysis: 20 November

November 20, 2021
BSV blockchain steps into Japan as Bitcoin Association joins local industry group

BSV blockchain steps into Japan as Bitcoin Association joins local industry group

November 24, 2021
Kyle Van Dyn Hoven created an NFT collection now worth $85.4 million. Here’s how he did it.

Kyle Van Dyn Hoven created an NFT collection now worth $85.4 million. Here’s how he did it.

January 26, 2022
A Massive $10 Trillion Crypto Game-Changer Is Closer Than You Think—Suddenly Boosting The Price Of Bitcoin, Ethereum, BNB, XRP, Solana, Cardano And Dogecoin

A Massive $10 Trillion Crypto Game-Changer Is Closer Than You Think—Suddenly Boosting The Price Of Bitcoin, Ethereum, BNB, XRP, Solana, Cardano And Dogecoin

0
Canaan Secures Follow-On Purchase Order From Hive Blockchain for 6,500 Bitcoin Mining Machines

Canaan Secures Follow-On Purchase Order From Hive Blockchain for 6,500 Bitcoin Mining Machines

0
Huobi closes crypto derivatives as part of wind-down for Chinese traders

Huobi closes crypto derivatives as part of wind-down for Chinese traders

0
Inside Blockchain Week’s private parties, Vitalik’s speech, and Gate.io climbs the ranks – Cointelegraph Magazine

Inside Blockchain Week’s private parties, Vitalik’s speech, and Gate.io climbs the ranks – Cointelegraph Magazine

0
A Massive $10 Trillion Crypto Game-Changer Is Closer Than You Think—Suddenly Boosting The Price Of Bitcoin, Ethereum, BNB, XRP, Solana, Cardano And Dogecoin

A Massive $10 Trillion Crypto Game-Changer Is Closer Than You Think—Suddenly Boosting The Price Of Bitcoin, Ethereum, BNB, XRP, Solana, Cardano And Dogecoin

August 14, 2022
Blockchain In Supply Chain Finance Market Analysis, Research Study With IBM, Ripple, Rubix by Deloitte

Blockchain In Supply Chain Finance Market Analysis, Research Study With IBM, Ripple, Rubix by Deloitte

August 14, 2022
Crypto mining can retire fossil fuels for good. Renewable energy projects are the future

Crypto mining can retire fossil fuels for good. Renewable energy projects are the future

August 14, 2022
Revolutux (RVLT), Cardano (ADA) and Litecoin (LTC) Might be The Altcoins That You’re Looking For

Revolutux (RVLT), Cardano (ADA) and Litecoin (LTC) Might be The Altcoins That You’re Looking For

August 14, 2022

Recent News

A Massive $10 Trillion Crypto Game-Changer Is Closer Than You Think—Suddenly Boosting The Price Of Bitcoin, Ethereum, BNB, XRP, Solana, Cardano And Dogecoin

A Massive $10 Trillion Crypto Game-Changer Is Closer Than You Think—Suddenly Boosting The Price Of Bitcoin, Ethereum, BNB, XRP, Solana, Cardano And Dogecoin

August 14, 2022
Blockchain In Supply Chain Finance Market Analysis, Research Study With IBM, Ripple, Rubix by Deloitte

Blockchain In Supply Chain Finance Market Analysis, Research Study With IBM, Ripple, Rubix by Deloitte

August 14, 2022
Crypto mining can retire fossil fuels for good. Renewable energy projects are the future

Crypto mining can retire fossil fuels for good. Renewable energy projects are the future

August 14, 2022

Categories

  • Bitcoin
  • Blockchain
  • Crypto Mining
  • Cryptocurrency
  • Dogecoin
  • Ethereum
  • Litecoin
  • Market & Analysis
  • Xrp

Follow Us

Find Via Tags

Analysis Bitcoin Blockchain BTC Buy Cardano coin Cointelegraph crypto cryptocurrencies Cryptocurrency Data Digital DOGE Dogecoin effect ETH Ethereum Heres High Inu Investors Latest Litecoin LTC Magazine market Metaverse Million miners Mining News NFT NFTs price prices Report Ripple Ripples rises Shiba Solana today top XRP
  • Privacy And Policy

© 2020 Crypto Grounds

No Result
View All Result
  • Home
  • Cryptocurrency
  • Bitcoin
  • Blockchain
  • Market & Analysis
  • Crypto Mining
  • Ethereum
  • Litecoin
  • Xrp
  • Dogecoin

© 2020 Crypto Grounds