mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Analysis: possible security issue using PUBLICIP_FETCHERS and RESOLVER_ADDRESS #290
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 @adripo on GitHub (Jun 16, 2023).
By using external DNS resolver option
RESOLVER_ADDRESScombined withPUBLICIP_FETCHERS=dnscould result in a possible security issue where a targeted attack can be performed, given the fact that DNS queries are not encrypted.MITM and similar attacks can be performed in order to alter DNS queries and inject custom IP addressed to be updated for a specific domain.
Ref:
https://github.com/qdm12/ddns-updater/issues/389#issuecomment-1595175041
@qdm12 commented on GitHub (Jun 17, 2023):
Fixed in
320d91d8e3Now both Cloudflare and OpenDNS use DNS over TLS to communicate and echo the public ip address.
However, Google was removed since its public ip echo nameserver does not support DNS over TLS (wtf right?).
This is a bit of a breaking change, but it should be mitigated by:
googlegooglegets auto-magically removed from the list of dns providers if found, so the program should not error and crash.