nginx-dns
nginx-dns copied to clipboard
Sample Configuration for DNS over HTTPS (DoH/DoT gateway) and GSLB with NGINX
added compatibility with dnscrypt-proxy2 client. (Error when dns is not first parameter. for example GET /dns-query?ct=&dns=blah)
Add client ip as ECS param in EDNS(0). This provides useful in combination with Pi-hole (R) detecting clients by ECS. see also https://github.com/pi-hole/FTL/pull/851 and Pi-hole setting `EDNS0_ECS=true` (default) based on...
Hi @TuxInvader ! Hope you're doing well :) It's me again lol In njs 8.0.0 two methods used by the code were deprecated: *) Change: non-compliant deprecated String methods were...
Closes: https://github.com/TuxInvader/nginx-dns/issues/26 Fix for HTTPS POST encoding - [x] allow on non-UTF8 characters in Buffer
**DOH POST requests frequently leads to TCP connection closed** How to reproduce 1. start DNS over HTTPS service from examples 2. ``` dig +https example.org +tries=1 ``` **observed result** error...
Hello, i'm trying to use your example, nginx-doh-and-dot-to-dns.conf to fit my server configuration. I'm using pihole as dns, so 127.0.0.1:53 is my pihole istance. Curl test after a while, returns...
Hi, I have installed nginx 1.25.1 + njs 0.8.0 and used "nginx-doh-and-dot-to-dns.conf" to setup DoH service. After installation it doesn't work properly and I get the following errors in /var/log/nginx/error.log...
After updating to nginx version 1.2.2, a debug log line in njs.d/dns/dns.js looks like it causes a memory exception: > 2023/03/18 07:57:25 [error] 1384#1384: *270 js exception: MemoryError while proxying...
"dig @192.168.177.18 +dnssec +https cloudflare.com" fails with ;; communications error to 192.168.177.18#443: failure ;; communications error to 192.168.177.18#443: failure ;; communications error to 192.168.177.18#443: failure /var/log/nginx/error.log contains > 2025/01/23 19:51:17...
I am trying to configure my DNS server to support DoH using the approach described in this repo. However when I try curl -vH "accept: application/dns-json" "https://redacted/dns-query?name=redacted&type=A" I - after...