Skip to content

feat(dns): allow disabling the built-in DNS server#186

Merged
mslipper merged 1 commit into
mainfrom
feat/dns-server-toggle
Jun 10, 2026
Merged

feat(dns): allow disabling the built-in DNS server#186
mslipper merged 1 commit into
mainfrom
feat/dns-server-toggle

Conversation

@mslipper

Copy link
Copy Markdown
Contributor

Adds dns.enabled (and the IRON_DNS_ENABLED env override), defaulting to true so existing behavior is unchanged. Setting it to false skips the :53 listen default and the dns.proxy_ip requirement and does not start the DNS server, so iron-proxy can run for clients that reach it via explicit HTTP(S)_PROXY settings rather than DNS interception.

Split out from the Helm chart PR (#185); the chart's listeners.dns.enabled=false toggle depends on this.

Add dns.enabled (and the IRON_DNS_ENABLED env override), defaulting to true. When disabled, the :53 listen default and the dns.proxy_ip requirement are both skipped, and the DNS server is not started — letting a DNS-less proxy be configured for clients that reach it via explicit HTTP(S)_PROXY settings.
@mslipper mslipper merged commit f8b52f1 into main Jun 10, 2026
6 checks passed
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