Christian Decker [ARCHIVE] on Nostr: 📅 Original date posted:2018-03-16 📝 Original message: Hi Thomas, indeed the ...
📅 Original date posted:2018-03-16
📝 Original message:
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
Published at
2023-06-09 12:49:32Event JSON
{
"id": "cb28cf2ad6054c95e78fcb06da219e63d263953f51544c4ee2f05d518243b041",
"pubkey": "72cd40332ec782dd0a7f63acb03e3b6fdafa6d91bd1b6125cd8b7117a1bb8057",
"created_at": 1686314972,
"kind": 1,
"tags": [
[
"e",
"71f106ac9e49289cc16e0663f91c64ef2eab422305ded38d2f4f02915e16b41e",
"",
"root"
],
[
"e",
"33ce19add485f9e249a038928199af3e51495da358ee3ea10fe6c6c190fa29b8",
"",
"reply"
],
[
"p",
"11c0180f1c3f9223db11f8ab888673f1eafd1bad7320cbd9d096656f2db09926"
]
],
"content": "📅 Original date posted:2018-03-16\n📝 Original message:\nHi Thomas,\n\nindeed the spec is a bit vague on the flags. The intent is to use them\nas subdomains. For example if you want to query for only realm IPv4\nnodes then you'd use the following:\n\n dig a2.seed.bitcoinstats.com\n\nwhile IPv4 or IPv6 nodes, but only nodes with realm 0, should be\nreturned to the following:\n\n dig r0.a6.seed.bitcoinstats.com\n\nNotice however that I haven't implemented the query filtering itself\njust yet.\n\nCheers,\nChristian\n\nThomas Steenholdt \u003cTSteenholdt at cascadetechnologypartners.com\u003e writes:\n\u003e Hi there,\n\u003e\n\u003e\n\u003e I'm trying to understand the DNS seeds described by BOLT10, but seem to be missing something regarding the query semantics.\n\u003e\n\u003e\n\u003e 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?\n\u003e\n\u003e\n\u003e Any pointers?\n\u003e\n\u003e\n\u003e /Thomas",
"sig": "7356e0f7e3d37b018eddda08848684cbc30976953e87f12a7c5b6cf4b743b4bc638388b7bbee3d814aed500ec9948eed18539c59d85c4ee8f9a9d003af253f2a"
}