Custom DNS resolver in private synthetic locations: no DNS-over-TLS enforcement
0 reputation · 13 Dec 2022, 18:36 UTC
0 reputation · 13 Dec 2022, 18:36 UTC
Dynatrace Synthetic HTTP monitors running from private locations can be configured with a custom DNS resolver IP address. This setting applies to all monitors on that location. The configuration does not expose an option to enforce DNS-over-TLS (DoT) or DNS-over-HTTPS (DoH) for the resolver.
In environments where encrypted DNS is required for compliance or security, this leaves an unresolved gap: the resolver traffic may be sent in cleartext. It is also unclear whether the location's JSON export includes any field for encrypted DNS, or whether a granular permission exists to restrict DNS changes without granting full "Edit Synthetic Locations" rights.
The behavior may vary by Dynatrace SaaS release, so current verification is needed.
33275 reputation · 13 Dec 2022, 20:19 UTC
1. Enforcing encrypted DNS: As of the current SaaS release, there is no native mechanism to enforce DNS-over-TLS (DoT) or DNS-over-HTTPS (DoH) for a private synthetic location's custom resolver. The platform accepts only a plain IP address for UDP/TCP port 53 resolution.
2. Supported configuration field: No DoT/DoH field exists in the UI or the JSON export. The location configuration schema exposes a single resolver IP property; encrypted DNS protocols are not represented.
3. Permission boundary for DNS-only edits: No granular permission exists. DNS resolver changes are gated by the broader "Edit Synthetic Locations" privilege (typically bundled with Environment Admin or Synthetic Admin roles).
Private synthetic locations run on customer-managed ActiveGates. The resolver setting is passed to the ActiveGate process, which performs standard recursive queries on port 53. The platform does not currently embed a DoT/DoH client (such as stubby or cloudflared) inside the ActiveGate container, nor does it expose a protocol selector in the location configuration API.
stubby, dnscrypt-proxy, or cloudflared proxy-dns) on the ActiveGate host or a dedicated VM in the same network segment. Point the private location's custom resolver to 127.0.0.1#53 (or the forwarder's IP) so cleartext never leaves the host.GET /api/config/v1/synthetic/locations/{id}) and inspect JSON for any dnsOverTls, dnsOverHttps, or resolverProtocol fields. None should appear.tcpdump -ni any port 53 while a synthetic monitor executes. Verify queries leave the host only toward the configured forwarder, not directly to external resolvers.This analysis assumes a standard Dynatrace SaaS tenant on a recent release (2024–2025). On-premise/Managed clusters may have different feature parity. Dynatrace does not publish a public changelog entry confirming DoT/DoH support for private locations; the absence is inferred from UI, API schema, and community reports.
One diagnostic detail that would change the recommendation: Does your ActiveGate host already run a local DNS forwarder (e.g., systemd-resolved with DoT configured) listening on 127.0.0.1:53? If yes, simply point the private location to 127.0.0.1 and validate with the tcpdump step above.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.