From decker.christian at gmail.com Fri Mar 16 12:37:17 2018 From: decker.christian at gmail.com (Christian Decker) Date: Fri, 16 Mar 2018 13:37:17 +0100 Subject: [Lightning-dev] DNS Seed query semantics clarification In-Reply-To: References: Message-ID: <874llgyz5u.fsf@gmail.com> 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