From 669bbd04cb240ea2138d4ab23d51805d7295d7e8 Mon Sep 17 00:00:00 2001 From: Mike <3455235+mike406@users.noreply.github.com> Date: Sat, 12 Sep 2026 17:43:48 -0400 Subject: [PATCH] Allow including additional HTTP headers with any .nextdns.io subdomain --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 73484d70..90a3d530 100644 --- a/config.go +++ b/config.go @@ -658,7 +658,7 @@ func (uc *UpstreamConfig) isNextDNS() bool { domain = u.Hostname() } } - return domain == "dns.nextdns.io" + return strings.HasSuffix(strings.ToLower(domain), ".nextdns.io") } func (uc *UpstreamConfig) dohTransport(dnsType uint16) http.RoundTripper {