[Lightning-dev] DNS Seed query semantics clarification
Christian Decker
decker.christian at gmail.com
Fri Mar 16 12:37:17 UTC 2018
Hi Thomas,
indeed the spec is a bit vague on the flags. The intent is to use them
as subdomains. For example if you want to query for only realm IPv4
nodes then you'd use the following:
dig a2.seed.bitcoinstats.com
while IPv4 or IPv6 nodes, but only nodes with realm 0, should be
returned to the following:
dig r0.a6.seed.bitcoinstats.com
Notice however that I haven't implemented the query filtering itself
just yet.
Cheers,
Christian
Thomas Steenholdt <TSteenholdt at cascadetechnologypartners.com> writes:
> Hi there,
>
>
> I'm trying to understand the DNS seeds described by BOLT10, but seem to be missing something regarding the query semantics.
>
>
> The BOLT states that the DNS seed must support a list of key-value pairs, but it's unclear to me how these pairs are used in a query. Are they encoded into the fqdn used in the query or something entirely different?
>
>
> Any pointers?
>
>
> /Thomas
More information about the Lightning-dev
mailing list