Skip to content

Conversation

@swiftveteran
Copy link

Fixes #817, #696, #834

  • Bind DNS server to network gateway addresses instead of only localhost
  • Detect stale nameserver after network migration and refresh resolvers
  • Add --dns-tcp flag to force TCP DNS queries for unreliable networks
  • Inherit host search domains for Tailscale/VPN compatibility

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

The DNS server now binds to network gateway addresses instead of only localhost, allowing containers to resolve hostnames correctly across different network configurations. This also fixes stale nameserver detection after network migration by refreshing resolvers when the network changes. A new --dns-tcp flag forces TCP for DNS queries on unreliable networks, and host search domains are now inherited for compatibility with Tailscale and other VPN configurations.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

…apple#696, apple#834)

- Bind DNS server to network gateway addresses instead of only localhost
- Detect stale nameserver after network migration and refresh resolvers
- Add --dns-tcp flag to force TCP DNS queries for unreliable networks
- Inherit host search domains for Tailscale/VPN compatibility
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.

[Bug]: Investigate DNS search path / resolver priority improvements.

1 participant