From TSteenholdt at cascadetechnologypartners.com Fri Mar 16 13:06:28 2018 From: TSteenholdt at cascadetechnologypartners.com (Thomas Steenholdt) Date: Fri, 16 Mar 2018 13:06:28 +0000 Subject: [Lightning-dev] DNS Seed query semantics clarification In-Reply-To: <874llgyz5u.fsf@gmail.com> References: , <874llgyz5u.fsf@gmail.com> Message-ID: Hi Christian, Thanks for the explanation - This was exactly the the piece of the puzzle I was missing. ? I'd be happy to help clarify this in the BOLT10 specification, if that makes any type of sense? I can make a pull request for review? /Thomas ________________________________ From: Christian Decker Sent: Friday, March 16, 2018 9:37:17 AM To: Thomas Steenholdt Cc: lightning-dev at lists.linuxfoundation.org Subject: Re: DNS Seed query semantics clarification 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 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: