mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-03 19:09:43 -04:00
Feature request: support tls/https for dns resolver #357
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @qdm12 on GitHub (Feb 2, 2024).
In
internal/resolver/resolver.goIdeally use
github.com/qdm12/dnswhen v2 is out@danielfreer commented on GitHub (Apr 8, 2025):
This feature will help when using UniFi Ad-Blocking feature and with split-dns (again using UniFi DNS).
Right now I have local DNS records for my domain set up in UniFi DNS to point to local addresses:
And public DNS records set up in Cloudflare:
So I need to use
RESOLVER_ADDRESS: "1.1.1.1:53"in order to correctly resolve the current public DNS address.But when UniFi Ad-Blocking is enabled, it hijacks any plain DNS query and redirects it to it's internal DNS: https://help.ui.com/hc/en-us/articles/9794438523799-UniFi-Gateway-Ad-Blocking
So now queries to Cloudflare get hijacked and return local addresses:
Clearly there are workarounds on my end to resolve this issue, but being able to resolve DoH should help too (from above UniFi help article):