You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(agent-data-plane): avoid DNS for disabled ADP bootstrap (#2041)
## What changed
- Gate remote-agent bootstrap on `data_plane.enabled` so default-disabled ADP exits before creating the Core Agent IPC client.
- Add an explicit `HttpsCapableConnectorBuilder::without_dns_resolution()` mode.
- Use no-DNS connector construction for Core Agent IPC, which targets `https://127.0.0.1:<cmd_port>` and does not require hostname resolution.
- Avoid system DNS resolver construction for DNS-free connector transports such as Unix sockets and vsock.
## Why
On hosts without nameservers in `/etc/resolv.conf`, ADP could fail during startup while constructing the HTTP connector for Core Agent IPC. This happened before ADP reached the disabled-exit path, creating noisy crash loops even when `data_plane.enabled` was false.
## Validation
unit tests, integration test.
Co-authored-by: andrew.qian <andrew.qian@datadoghq.com>
0 commit comments