Owen Schwartz
df6a84648b
Merge pull request #100 from LaurenceJJones/fix/issue-38-stale-dns-cleanup
...
feat(DNS): Add static cleanup funcs
2026-04-07 21:26:38 -04:00
Owen
c2b5ef96a4
Jit of aliases working
2026-03-12 17:26:46 -07:00
Laurence
f250702177
feat(DNS): Add static cleanup funcs
...
To aid CLI in cleaning up configuration we expose static functions that know how to handle each provider and platform linked to https://github.com/fosrl/cli/issues/38
2026-03-12 12:26:03 +00:00
Owen
22cd02ae15
Alias jit handler
2026-03-11 15:56:51 -07:00
Owen
e2690bcc03
Store site id
2026-03-06 16:19:00 -08:00
Laurence
ae88766d85
test(dns): add dns test cases for nodata
2026-03-06 16:08:01 -08:00
Laurence
9ae49e36d5
refactor(dns): simplify DNSRecordStore from trie to map
...
Replace trie-based domain lookup with simple map for O(1) lookups.
Add exists boolean to GetRecords for proper NODATA vs NXDOMAIN responses.
2026-03-06 16:08:01 -08:00
Laurence
5ca4825800
refactor(dns): trie + unified record set for DNSRecordStore
...
- Replace four maps (aRecords, aaaaRecords, aWildcards, aaaaWildcards) with a label trie for exact lookups and a single wildcards map
- Store one recordSet (A + AAAA) per domain/pattern instead of separate A and AAAA maps
- Exact lookups O(labels); PTR unchanged (map); API and behaviour unchanged
2026-03-06 16:08:01 -08:00
Laurence
8549dc8746
enhance(dns): expose stale cleanup functionality
...
When the tunnel is forced close an integration may want to manually call cleanup function to fix stale issues without having the knowledge of which configuration to cleanup
2026-02-26 11:30:12 +00:00
Owen
af973b2440
Support prt records
2026-02-06 15:17:01 -08:00
Owen
7fc3c7088e
Lowercase all domains before matching
...
Former-commit-id: 8f8872aa47
2026-01-30 14:53:25 -08:00
Owen
8a788ef238
Merge branch 'dev' of github.com:fosrl/olm into dev
...
Former-commit-id: 8c5c8d3966
2026-01-12 17:12:45 -08:00
Owen
20e0c18845
Try to reduce cpu when idle
...
Former-commit-id: ba91478b89
2026-01-12 12:29:42 -08:00
Varun Narravula
7b7eae617a
chore: format files using gofmt
...
Former-commit-id: 5cfa0dfb97
2026-01-11 13:49:39 -08:00
Owen
1b43f029a9
Dont pass in dns proxy to override
...
Former-commit-id: 51dd927f9b
2025-12-31 15:42:51 -05:00
Owen
cce8742490
Try to make the tun replacable
...
Former-commit-id: 6be0958887
2025-12-30 21:38:07 -05:00
Owen
28910ce188
Add stub
...
Former-commit-id: ece4239aaa
2025-12-29 17:50:15 -05:00
Owen
8b68f00f59
Sending DNS over the tunnel works
...
Former-commit-id: 304174ca2f
2025-12-19 10:55:37 -05:00
Owen
675c934ce1
Cleanup unclean shutdown cross platform
...
Former-commit-id: de18c0cc6d
2025-12-18 11:33:59 -05:00
Owen
78dc6508a4
Support wildcard alias records
...
Former-commit-id: cec79bf014
2025-12-16 21:33:41 -05:00
Owen
e24ee0e68b
Add component to override the dns
...
Former-commit-id: b601368cc7
2025-11-30 14:44:01 -05:00
Owen
cea9ab0932
Add some logging
...
Former-commit-id: 5d129b4fce
2025-11-30 14:28:25 -05:00
Owen
afe0d338be
Network manager working by adding a config file
...
Former-commit-id: 04928aada0
2025-11-26 12:13:29 -05:00
Owen
a18b367e60
NM working by overriding other interfaces
...
Former-commit-id: 174b7fb2f8
2025-11-26 11:58:21 -05:00
Owen
91e44e112e
Systemd working
...
Former-commit-id: 5f17fa8b0d
2025-11-26 11:38:16 -05:00
Owen
a38d1ef8a8
Shutting down correct now
...
Former-commit-id: 692800b411
2025-11-25 21:21:35 -05:00
Owen
53c1fa117a
Detect unix; network manager not working
...
Former-commit-id: 8774412091
2025-11-25 15:44:16 -05:00
Owen
50525aaf8d
Formatting of peers and dns worked
...
Former-commit-id: 9281fbd222
2025-11-25 14:19:53 -05:00
Owen
0802673048
Refactor
...
Former-commit-id: 7ae705b1f1
2025-11-24 16:16:52 -05:00
Owen
2436a5be15
Remove unused
...
Former-commit-id: fff1ffbb85
2025-11-24 15:36:04 -05:00
Owen
430f2bf7fa
Reorg working windows
...
Former-commit-id: ec5d1ef1d1
2025-11-24 14:56:24 -05:00
Owen
ead8fab70a
Basic working
...
Former-commit-id: 4dd50526cf
2025-11-23 22:01:43 -05:00
Owen
50008f3c12
Basic platform?
...
Former-commit-id: 423e18edc3
2025-11-23 21:26:15 -05:00
Owen
24b5122cc1
Update
...
Former-commit-id: 307b82e053
2025-11-23 18:07:12 -05:00
Owen
30ff3c06eb
Delete example
...
Former-commit-id: a319baa298
2025-11-23 16:49:46 -05:00
Owen
6c7ee31330
Working on sending down the dns
...
Former-commit-id: 1a8385c457
2025-11-23 15:57:35 -05:00
Owen
c230c7be28
Make it protocol aware
...
Former-commit-id: 511f303559
2025-11-21 17:11:03 -05:00
Owen
d7cd746cc9
Reorg the files
...
Former-commit-id: 5505c1d2c7
2025-11-21 16:53:54 -05:00