How can I have a local system-wide proxy to a trusted (by me) DNS-over-HTTPS endpoint on (or ) / .

I know how to configure firefox to this aim, but I'd want the system resolver to do the same.

@Shamar run a local resolver, and have it do the DoH. Bind (9.17+), Knot (4.0+), and Unbound (11.12) all apparently support it. Configure this resolver via /etc/resolv.conf, NetworkManager, etc.

Unbound is pretty lightweight, I would look into that first.

If the debian packages are too old, look at running it in a podman (or docker) container.

@draeath @Shamar no, both #bind9 and #unbound implement only server side. They can accept queries over DoH, but cannot forward them to DoH remote server. I am not sure about Knot, but might have the same problem. Forwarding over DoH is rare ability. Dnsdist is one of few capable of it.

Follow

@pemensik

That what I did understood by reading the doc.

's seems a superb project, just maybe a bit overhelm for what it should do in this specific case. Yet seems likely the only option, actually.

It's a bit of a shame no other have been written in compiled languages so far... which is likely why few resolver support such forwarding.

When I first read about DNS-over-HTTP, I saw it as a further centralization attempt by & friends (which sadly includes @mozilla these days), since to get a working DoH service you need good sysadmin skills and a stable public IP: not something a kid with a cheap shared hosting can set up.

And ə PHP implementation would be too slow.

made me realize that a simple CGI in C could have good performances and be widely distributed, so I wrote one (still early alpha).

Now I can use it in most (non enterprise managed¹) browser, but I'd like to try it system wide.

Anyway... thanks for your help guys!

@draeath

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.