[GH-ISSUE #95] Can't disable DNS override anymore #412

Closed
opened 2026-04-25 01:57:44 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @asardaes on GitHub (Feb 13, 2026).
Original GitHub issue: https://github.com/fosrl/olm/issues/95

Describe the Bug

In version 1.4.2 (tagged but no GitHub release BTW) the DNS override is enabled by default, and I can't disable it with the config JSON nor with env vars.

Environment

Olm container v1.4.2

To Reproduce

Update to 1.4.2, create a JSON config with "overrideDNS":false and set the file's path in env var CONFIG_FILE.

Expected Behavior

Respect settings from JSON config.

Originally created by @asardaes on GitHub (Feb 13, 2026). Original GitHub issue: https://github.com/fosrl/olm/issues/95 ### Describe the Bug In version 1.4.2 (tagged but no GitHub release BTW) the DNS override is enabled by default, and I can't disable it with the config JSON nor with env vars. ### Environment Olm container v1.4.2 ### To Reproduce Update to 1.4.2, create a JSON config with `"overrideDNS":false` and set the file's path in env var `CONFIG_FILE`. ### Expected Behavior Respect settings from JSON config.
GiteaMirror added the stale label 2026-04-25 01:57:44 -05:00
Author
Owner

@oschwartz10612 commented on GitHub (Feb 13, 2026):

I think you can do --override-dns=false to disable it.

Thanks for alerting me to the failure of the release of 1.4.2 - that was
a mistake and I am publishing it now.

Also, we are moving to promoting the pangolin cli as the best way to run
a machine client. I think its better user experience. Try:

sudo pangolin up --id y6tzfk5zwiob505 --secret ******** --endpoint
https://app.pangolin.net --attach

<!-- gh-comment-id:3900091438 --> @oschwartz10612 commented on GitHub (Feb 13, 2026): I think you can do --override-dns=false to disable it. Thanks for alerting me to the failure of the release of 1.4.2 - that was a mistake and I am publishing it now. Also, we are moving to promoting the pangolin cli as the best way to run a machine client. I think its better user experience. Try: sudo pangolin up --id y6tzfk5zwiob505 --secret ******** --endpoint https://app.pangolin.net --attach
Author
Owner

@asardaes commented on GitHub (Feb 14, 2026):

Ok, --override-dns=false works as expected with the pangolin CLI, but --holepunch=false doesn't. I imagine this issue is still valid though, but I don't know if you still foresee end users running Olm directly.

<!-- gh-comment-id:3901754913 --> @asardaes commented on GitHub (Feb 14, 2026): Ok, `--override-dns=false` works as expected with the pangolin CLI, but `--holepunch=false` doesn't. I imagine this issue is still valid though, but I don't know if you still foresee end users running Olm directly.
Author
Owner

@oschwartz10612 commented on GitHub (Feb 15, 2026):

Yeah actually --holepunch does not really work anymore and should be
removed. I will do that.

But yeah we are now going to try to drive users into the pangolin CLI
instead of olm I think which is designed closer to how we expect things
to be used. Olm has some old baggage from the before times :}

<!-- gh-comment-id:3905042281 --> @oschwartz10612 commented on GitHub (Feb 15, 2026): Yeah actually --holepunch does not really work anymore and should be removed. I will do that. But yeah we are now going to try to drive users into the pangolin CLI instead of olm I think which is designed closer to how we expect things to be used. Olm has some old baggage from the before times :}
Author
Owner

@github-actions[bot] commented on GitHub (Mar 2, 2026):

This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.

<!-- gh-comment-id:3981421113 --> @github-actions[bot] commented on GitHub (Mar 2, 2026): This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 16, 2026):

This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.

<!-- gh-comment-id:4064346710 --> @github-actions[bot] commented on GitHub (Mar 16, 2026): This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/olm#412