From: Matt Corallo Date: Sun, 26 Apr 2020 18:22:26 +0000 (-0400) Subject: Include height sub-zone note X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=40fa6230ec193a30b25e838ebe6ffde127f7ffe4;p=headersdns Include height sub-zone note --- diff --git a/index.html b/index.html index 832d5ea..aa2d0eb 100644 --- a/index.html +++ b/index.html @@ -43,6 +43,9 @@

bitcoinheaders.net currently supports fetching of either full Bitcoin headers or neutrino filter headers, both with a similar format. To ensure reliable access in the face of strict DNS filters, the data is encoded in IPv6 addresses in AAAA records and DNSSec signed to prevent some basic attacks.

+

+ Headers names are broken into sub-zones of 10,000 records, so queries should take the form of height.(height / 10000).bitcoinheaders.net (or, for basic neutrino filter headers, height.(height / 10000).basic.filter.bitcoinheaders.net). +

All headers and filter headers are encoded with an arbitrary two byte prefix (currently "2001:"), followed by a 0-indexed order nibble (as nameservers often reorder responses). Bitcoin headers are then prefixed by a single 0 byte (two 0 nibbles) and placed into the remaining 80 bytes of six IPv6 addresses. Filter headers are simply placed into three IPv6 addresses with a 17-nibble (8.5 byte) 0 suffix.