lightning-address icon indicating copy to clipboard operation
lightning-address copied to clipboard

Support for SRV records [dns]

Open leo-lox opened this issue 2 years ago • 2 comments

Hi,

I'm not sure if this is the right place, but I was wondering if there is support for srv records.  The use case is an already existing domain with a bunch of services and a separate server that runs lnd and satdress for example.

SRV  _lightning-address._tcp.example.com  --> points to --> mySatdress.otherserver.tld

leo-lox avatar Apr 13 '22 13:04 leo-lox

Maybe not a SRV record, which has a specific format not entirely applicable (PORT, WEIGHT, PROTO, PRIORITY) but maybe a TXT record with a specified format, similar to SPF (Sender Framework Policy).

I've been thinking of this as well. [email protected] assumes the Lightning URL will reside on the A record for domain.com. But similar to MX, you may want to have that data reside somewhere else.

DNS is a more flexible place to specify where the LN URL data will reside or even what it is.

markjr avatar Apr 16 '22 23:04 markjr

This (a TXT field) would be a significantly better plan as far as I can see than .well-known; I'd welcome it if it's a possibility.

jamescridland avatar Jul 17 '22 11:07 jamescridland