Bitcoin Forum
April 30, 2024, 01:14:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: DNS and wallet addresses  (Read 896 times)
metoro (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
May 01, 2013, 02:16:16 AM
 #1

I was just thinking about the possibility of harnessing the conventional domain name system as a means to store wallet addresses such that you could direct a transaction to a URL something like:

wallet.mydomain.com

Could this be achieved using the TXT-type record on the DNS for the subdomain? Would be pretty cool to define a standard for this. The record could contain addresses for various wallet types - e.g.

wallet.mydomain.com. TXT "wallet=btc:1K59yRiX3Vvp2jZyHYDmmzGaGehLFL9aWy xrp:raiE52Ws8wYjh8k93dDDUqq4HwkfPhR6fA"


This seems so obvious that I assume I'm either being stupid somehow, or that this is an old idea, but thought I'd chuck it out there...

Ben
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714482866
Hero Member
*
Offline Offline

Posts: 1714482866

View Profile Personal Message (Offline)

Ignore
1714482866
Reply with quote  #2

1714482866
Report to moderator
1714482866
Hero Member
*
Offline Offline

Posts: 1714482866

View Profile Personal Message (Offline)

Ignore
1714482866
Reply with quote  #2

1714482866
Report to moderator
toolbag
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 01, 2013, 03:35:48 AM
 #2

I can't think of any reason that wouldn't work. I think you can create multiple TXT records for a domain, too, so you wouldn't have to cram every wallet address into a single record.
metoro (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
May 01, 2013, 07:39:37 PM
 #3

Yes, that makes sense, since I think the maximum length of a TXT is 255 chars.
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
May 01, 2013, 07:51:52 PM
 #4

what's preventing a malicious registrar/ISP/government from intercepting the dns request? this is currently worse than posting the address on a https page.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
toolbag
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 01, 2013, 08:09:46 PM
 #5

Perhaps such a scheme can only be secure if it's combined with DNSSEC or something like that.
metoro (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
May 01, 2013, 08:26:43 PM
 #6

Right, of course. Easy enough to misdirect to a different wallet by 'hacking' the record down river. DNSSEC looks like a good solution to that problem...
harik
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
May 02, 2013, 12:30:13 AM
 #7

I was just thinking about the possibility of harnessing the conventional domain name system as a means to store wallet addresses such that you could direct a transaction to a URL something like:

wallet.mydomain.com

Could this be achieved using the TXT-type record on the DNS for the subdomain? Would be pretty cool to define a standard for this. The record could contain addresses for various wallet types - e.g.

wallet.mydomain.com. TXT "wallet=btc:1K59yRiX3Vvp2jZyHYDmmzGaGehLFL9aWy xrp:raiE52Ws8wYjh8k93dDDUqq4HwkfPhR6fA"


This seems so obvious that I assume I'm either being stupid somehow, or that this is an old idea, but thought I'd chuck it out there...

Ben

So to pay someone on an anonymous transaction system you need to access a logging DNS server and leave a littered trail of queries?  I'm just verifying your plan here.  I'll be sure to use this on a torland website so idiots give me their IP addresses.

Congratulations, you just invented the 1x1 transparent .gif for bitcoin.
toolbag
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 02, 2013, 12:56:41 AM
 #8

Not everyone using Bitcoin is concerned with anonymity, and those who are use Tor anyway, so their DNS queries are already anonymized. DNS query results get cached, too, so not every query is going to be visible to the person running the authoritative DNS server for the domain in question. Even without Tor, if you use a popular public DNS server like 8.8.8.8, 4.2.2.2, etc., then there's a fair chance your queries will be returned from that server's cache anyway. I don't see how this is any more of a threat than running a Bitcoin client without Tor.
harik
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
May 02, 2013, 01:35:03 AM
 #9

Not everyone using Bitcoin is concerned with anonymity, and those who are use Tor anyway, so their DNS queries are already anonymized. DNS query results get cached, too, so not every query is going to be visible to the person running the authoritative DNS server for the domain in question. Even without Tor, if you use a popular public DNS server like 8.8.8.8, 4.2.2.2, etc., then there's a fair chance your queries will be returned from that server's cache anyway. I don't see how this is any more of a threat than running a Bitcoin client without Tor.


It's because you're crossing a security boundary with a bugged address.  Basically, if you posted your 1xxxx address on a torified website and you sent to it, no other information but that address has been passed on.  When you use a vanity name backed with txt record, you're putting a permanent bug in someone's client - since now it's a.b.c.d that needs to be looked up to be sent.  At any time their client leaves the security domain you have the chance of leaking IP addresses.

Not to mention having to wedge all of dnssec into the reference client in order to validate the signature.
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1028



View Profile WWW
May 02, 2013, 02:22:05 AM
 #10

much harder to forge:

http://explorer.dot-bit.org/n/74491
toolbag
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 02, 2013, 02:22:22 AM
 #11

OK, fair enough; those are good points. I guess we're running up on the old trade-off between security and convenience. In any case, I wasn't trying to argue that this is an idea that should be in the reference client ASAP, only that it's a decent idea worth looking at.
Zeilap
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
May 02, 2013, 02:48:12 AM
 #12

See also https://en.bitcoin.it/wiki/BIP_0015
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
May 02, 2013, 11:17:45 AM
 #13

Make a site with a * cname record and let us add modules like mtgox payment form. It can't be forged if you match the address. But someone can hack it and make all the forms go to him.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!