Skip to content

Conversation

@dannote
Copy link

@dannote dannote commented Jan 13, 2026

macOS DNS resolution uses the SystemConfiguration framework via Mach IPC to configd, not /etc/resolv.conf. Without this mach-lookup permission, DNS fails in sandboxed processes.

Add com.apple.SystemConfiguration.configd to the mach-lookup whitelist and filter it from violation logs.

The configd service provides read-only access to network configuration. This is already granted to Safari/WebKit, Chrome, and other system sandboxes, and is necessary for any networked CLI tool.

…S lookups

- Add com.apple.SystemConfiguration.configd to the mach-lookup whitelist
  to enable DNS resolution in sandboxed CLI tools
- Filter this service from violation logs since it's expected for many tools

Fixes DNS lookup failures with error:
  curl(65090) deny(1) mach-lookup com.apple.SystemConfiguration.configd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant