By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
Add static cleanup functions inside olm so other implementations can invoke these to cleanup configuration of olm without explicitly needing to know which configuration olm creates.
How to test?
Currently this is purely just a SDK improvement to which the CLI will need to implement these as either prerun hooks to up and down or we add a pangolin cleanup function so it explicit.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/fosrl/olm/pull/100
**Author:** [@LaurenceJJones](https://github.com/LaurenceJJones)
**Created:** 3/12/2026
**Status:** ✅ Merged
**Merged:** 4/8/2026
**Merged by:** [@oschwartz10612](https://github.com/oschwartz10612)
**Base:** `main` ← **Head:** `fix/issue-38-stale-dns-cleanup`
---
### 📝 Commits (2)
- [`8549dc8`](https://github.com/fosrl/olm/commit/8549dc87460159da1305c8f80338ca859a9bceda) enhance(dns): expose stale cleanup functionality
- [`f250702`](https://github.com/fosrl/olm/commit/f250702177d2b92db2ae92392e51b3af65793df5) feat(DNS): Add static cleanup funcs
### 📊 Changes
**9 files changed** (+245 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `dns/override/dns_override_android.go` (+7 -1)
📝 `dns/override/dns_override_darwin.go` (+17 -0)
📝 `dns/override/dns_override_ios.go` (+7 -1)
📝 `dns/override/dns_override_unix.go` (+46 -0)
📝 `dns/override/dns_override_windows.go` (+16 -0)
📝 `dns/platform/darwin.go` (+56 -0)
📝 `dns/platform/file.go` (+24 -0)
📝 `dns/platform/network_manager.go` (+38 -0)
📝 `dns/platform/resolvconf.go` (+34 -0)
</details>
### 📄 Description
## Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
## Description
Add static cleanup functions inside olm so other implementations can invoke these to cleanup configuration of olm without explicitly needing to know which configuration olm creates.
## How to test?
Currently this is purely just a SDK improvement to which the CLI will need to implement these as either prerun hooks to `up` and `down` or we add a `pangolin cleanup` function so it explicit.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/fosrl/olm/pull/100
Author: @LaurenceJJones
Created: 3/12/2026
Status: ✅ Merged
Merged: 4/8/2026
Merged by: @oschwartz10612
Base:
main← Head:fix/issue-38-stale-dns-cleanup📝 Commits (2)
8549dc8enhance(dns): expose stale cleanup functionalityf250702feat(DNS): Add static cleanup funcs📊 Changes
9 files changed (+245 additions, -2 deletions)
View changed files
📝
dns/override/dns_override_android.go(+7 -1)📝
dns/override/dns_override_darwin.go(+17 -0)📝
dns/override/dns_override_ios.go(+7 -1)📝
dns/override/dns_override_unix.go(+46 -0)📝
dns/override/dns_override_windows.go(+16 -0)📝
dns/platform/darwin.go(+56 -0)📝
dns/platform/file.go(+24 -0)📝
dns/platform/network_manager.go(+38 -0)📝
dns/platform/resolvconf.go(+34 -0)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
Add static cleanup functions inside olm so other implementations can invoke these to cleanup configuration of olm without explicitly needing to know which configuration olm creates.
How to test?
Currently this is purely just a SDK improvement to which the CLI will need to implement these as either prerun hooks to
upanddownor we add apangolin cleanupfunction so it explicit.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.