Post AOpB17yUGHTVXHq75U by rysiek@mastodon.technology
(DIR) More posts by rysiek@mastodon.technology
(DIR) Post #AOp5BMLJ64DPGi0cam by rysiek@mastodon.technology
2022-10-22T10:32:11Z
0 likes, 1 repeats
And another DNSLink-based plugin for #LibResilient:https://gitlab.com/rysiekpl/libresilient/-/tree/master/plugins/dnslink-fetchIt relies on DNS-over-HTTPS JSON API providers. Sadly currently there are only three that I know of, all run by Google or CloudFlare. :blobpensive:I still think it's better to have that option if that means a website can use the Google DoH JSON API server and move off of CloudFlare's gate-keeping DDoS protection racket.If anyone knows of any independent public DoH JSON API servers, I am all ears!
(DIR) Post #AOp5BMtL3XRAyFvndY by lanodan@queer.hacktivis.me
2022-10-22T10:40:58.957519Z
1 likes, 0 repeats
@rysiek Not sure about the JSON part but @Shaft hosts a DoH resolver: https://www.shaftinc.fr/dns-shaftinc.html
(DIR) Post #AOp5BNN7GpFySbra3E by rysiek@mastodon.technology
2022-10-22T10:36:04Z
0 likes, 1 repeats
Decentralizing the Internet is more about the infrastructure than the code.Running infrastructure is costly and difficult, and this is where a lot of decentralized web projects struggle.There's a lot of code out there that *in theory* would enable decentralized web, but *in practice* require someone to deploy a massive infrastructure first, before that's actually viable.And no, slapping blockchain on that code is not a solution.
(DIR) Post #AOp5cxgONKjAta27VI by Hyolobrika@gleasonator.com
2022-10-22T10:46:31.071073Z
0 likes, 0 repeats
Many servers on OpenNIC also support DoH from what I’ve noticed.
(DIR) Post #AOp9RnxSahM9Mkx5l2 by clov@travelpandas.fr
2022-10-22T10:45:55Z
0 likes, 0 repeats
@rysiek https://dns.hostux.net/ ?
(DIR) Post #AOp9RoMz3nlydutTXc by rysiek@mastodon.technology
2022-10-22T11:27:03Z
0 likes, 0 repeats
@clov ooooh, thanks, that would be amazing!However:> Access to fetch at 'https://dns.hostux.net/dns-query?name=_dnslink.resilient.is&type=TXT&edns_client_subnet=0.0.0.0/0' from origin 'null' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.Hostux would need to fix their CORS policy.
(DIR) Post #AOp9RonvRdK7zTUzXE by clov@travelpandas.fr
2022-10-22T11:28:11Z
0 likes, 0 repeats
@rysiek poke @valere
(DIR) Post #AOp9RpFZmpRRNER4dM by rysiek@mastodon.technology
2022-10-22T11:28:47Z
0 likes, 0 repeats
@clov @valere :blobaww:
(DIR) Post #AOp9Rpha6hqKm5XRHk by valere@hostux.social
2022-10-22T11:29:15Z
0 likes, 0 repeats
@rysiek @clov I'm looking at this
(DIR) Post #AOp9kMCS1GeomGoIme by valere@hostux.social
2022-10-22T11:32:39Z
0 likes, 0 repeats
@rysiek @clov fixed ! thx
(DIR) Post #AOp9sHgufNlf6vq3vs by rysiek@mastodon.technology
2022-10-22T11:34:04Z
0 likes, 0 repeats
@valere @clov :blobcatfingerguns:
(DIR) Post #AOp9zNNdudnGmaCsz2 by valere@hostux.social
2022-10-22T11:35:22Z
0 likes, 0 repeats
@rysiek You can check this list : https://github.com/curl/curl/wiki/DNS-over-HTTPS#publicly-available-servers
(DIR) Post #AOpAOHVqrhmHp9vF8i by rysiek@mastodon.technology
2022-10-22T11:39:49Z
0 likes, 0 repeats
@valere @clov still broken I think?I get the access-control-allow-origin header set twice in the response, and the browser interprets this as "*, *":access-control-allow-origin: *access-control-allow-origin: *
(DIR) Post #AOpAUMwpZQMiQ0Rc24 by valere@hostux.social
2022-10-22T11:40:58Z
0 likes, 0 repeats
@rysiek @clov mmm better now ?
(DIR) Post #AOpAVeAj17Q67yYK9o by rysiek@mastodon.technology
2022-10-22T11:41:11Z
0 likes, 0 repeats
@valere this only mentions a single JSON API endpoint tho.
(DIR) Post #AOpB17yUGHTVXHq75U by rysiek@mastodon.technology
2022-10-22T11:46:51Z
0 likes, 0 repeats
@valere @clov much, yes! Thank you!One more small thing, seems like Google and CloudFlare DoH JSON API endpoints strip the quotation marks from TXT records. Hostux' one doesn't.Compare:curl 'https://dns.google/resolve?name=_dnslink.resilient.is&type=TXT&ecs=' 2>/dev/null | jqcurl -H 'accept: application/dns-json' 'https://dns.hostux.net/dns-query?name=_dnslink.resilient.is&type=TXT' 2>/dev/null | jqI will add a trim() in my code to correct for this, but I thought you should know! 🙂
(DIR) Post #AOpCDfN41JqqXfsUS0 by rysiek@mastodon.technology
2022-10-22T11:49:36Z
0 likes, 0 repeats
@valere @clov well obviously not trim() but you get my drift 😉
(DIR) Post #AOpCDfnIRmppr29RL6 by rysiek@mastodon.technology
2022-10-22T11:58:58Z
0 likes, 0 repeats
@valere @clov wwoop wwoop!https://gitlab.com/rysiekpl/libresilient/-/commit/ee10bba97a1d0cbebea81ee6978559dd076facc7Thanks again! I love not having to rely on the gatekeepers as a default here. :blobheart:
(DIR) Post #AOpCDg8v9O8Gw6Gi2q by valere@hostux.social
2022-10-22T12:00:22Z
0 likes, 0 repeats
@rysiek @clov Thanks to you! If you have any problem don't hesitate! 🤗
(DIR) Post #AOrjJbQHIWySq1juSm by sofia@chaos.social
2022-10-23T00:15:21Z
0 likes, 1 repeats
@rysiek that is completely backwards. the hardware for a bottom-up infrastructure is basically in place, everyone has a rounter at home already, often with overlapping wifi. increasingly people even build mesh networks within their homes.but software and protocols aren't built to make use of this at all. sometimes because it's hard, often because centralized control is either just thought of as the default or explicitly desired.
(DIR) Post #AOrjJcv9jDGfU5C5EO by sofia@chaos.social
2022-10-23T00:26:12Z
0 likes, 0 repeats
@rysiek "There's a lot of code out there that *in theory* would enable decentralized web, but *in practice* require someone to deploy a massive infrastructure first, before that's actually viable."like what? seems to me that decentralized infrastructure will be built from inexpensive parts almost by definition…