Skip to content

fix(agent-data-plane): preserve DNS for hostname IPC endpoints (1.2.x backport) - #2080

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits into
jszwedko/backport-2041-1.2.xfrom
andrewq/fix-ipc-endpoint-dns-1.2.x
Jul 10, 2026
Merged

fix(agent-data-plane): preserve DNS for hostname IPC endpoints (1.2.x backport)#2080
gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits into
jszwedko/backport-2041-1.2.xfrom
andrewq/fix-ipc-endpoint-dns-1.2.x

Conversation

@aqian01

@aqian01 aqian01 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Backports #2060 onto the ADP 1.2.4 backport in #2058.

  • Keeps DNS enabled for hostname IPC endpoints.
  • Disables DNS only for literal-IP and vsock endpoints.
  • Fixes the 1.2.x integration test schema.
  • Fixes the proxy-dumper CA certificate condition and removes the unused certificate script.

Validation

Unit tests and Panoramic discovery.

Copilot AI review requested due to automatic review settings July 10, 2026 17:09
@aqian01
aqian01 requested a review from a team as a code owner July 10, 2026 17:09
@dd-octo-sts dd-octo-sts Bot added area/io General I/O and networking. area/test All things testing: unit/integration, correctness, SMP regression, etc. labels Jul 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This backport fixes an ADP 1.2.x regression where IPC client startup could unnecessarily depend on system DNS configuration, while still preserving DNS resolution for hostname-based IPC endpoints.

Changes:

  • Conditionally disable DNS resolution only for literal-IP IPC endpoints (and rely on connector logic to noop DNS for vsock/unix transports).
  • Update the adp-ipc-no-dns integration test config to the current assertions schema.
  • Fix CA-certificate installation gating in Dockerfile.proxy-dumper and remove the now-unneeded CA-certs install script.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/integration/cases/adp-ipc-no-dns/config.yaml Updates integration test schema keys/fields to match current harness (assertions + type).
lib/saluki-io/src/net/client/http/conn.rs Clarifies the default behavior of DNS resolution in connector docs.
lib/datadog-agent/commons/src/ipc/client/mod.rs Adds endpoint host parsing to decide when to disable DNS; includes unit tests.
docker/scripts/agent-data-plane/app/00-install-ca-certs.sh Removes unused CA-certs installation script.
docker/Dockerfile.proxy-dumper Fixes `RUN ...

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot merged commit 2f27ebc into jszwedko/backport-2041-1.2.x Jul 10, 2026
94 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot deleted the andrewq/fix-ipc-endpoint-dns-1.2.x branch July 10, 2026 19:36
jszwedko pushed a commit that referenced this pull request Jul 10, 2026
… backport) (#2080)

## Summary

Backports #2060 onto the ADP 1.2.4 backport in #2058.

- Keeps DNS enabled for hostname IPC endpoints.
- Disables DNS only for literal-IP and vsock endpoints.
- Fixes the 1.2.x integration test schema.
- Fixes the proxy-dumper CA certificate condition and removes the unused certificate script.

## Validation

Unit tests and Panoramic discovery.

Co-authored-by: toby.lawrence <toby.lawrence@datadoghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/io General I/O and networking. area/test All things testing: unit/integration, correctness, SMP regression, etc. mergequeue-status: done

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants