Commit graph

64 commits

Author SHA1 Message Date
Daniel
62dd4355be Add scoping to IPInfo 2020-10-14 11:37:50 +02:00
Daniel
7d9454f29a Remove RRCache locking and clean up attributes 2020-09-30 17:16:45 +02:00
Daniel
7b5803482c Support non-standard format on dns query name 2020-09-29 11:23:05 +02:00
Daniel
7c5cbefc27 Update Adguard DNS configuration to use new IPs
See their announcement: https://adguard.com/en/blog/adguard-dns-new-addresses.html
2020-09-28 12:37:17 +02:00
Daniel
a498611a2a Fix second write when responding with extra section 2020-09-25 11:30:01 +02:00
Daniel
4e14439112 Handle DNS Rcodes 2020-09-25 10:13:10 +02:00
Daniel
00de73d65e Further logging improvements 2020-09-24 22:44:27 +02:00
Daniel
0f2e3cdb2f Fix comment for linter 2020-09-24 22:09:01 +02:00
Daniel
89dfbf72e6 Final feedback implementation and fixes 2020-09-24 22:03:02 +02:00
Daniel
c856b7372a Improve handling of expired or failed queries 2020-09-24 17:12:01 +02:00
Daniel
af056780fc Fix linter errors 2020-09-24 17:12:01 +02:00
Daniel
5df7182b5d Implement feedback 2020-09-24 17:12:01 +02:00
Daniel
34247b1d82 Add hearbeat check to TCP resolver 2020-09-24 17:12:01 +02:00
Daniel
bd8d047428 Retry NSDomain queries, if wanted 2020-09-24 17:12:01 +02:00
Daniel
3c6cd69f50 Add support for default ports nameserver config 2020-09-24 17:12:01 +02:00
Daniel
1b11d1589b Add ServerInfo to resolvers and caches 2020-09-24 17:12:01 +02:00
Daniel
3f3d82bdf1 Improve debug information in DNS responses 2020-09-24 17:12:01 +02:00
Daniel
f46e759524 Use new Purge method of the database 2020-09-24 16:57:54 +02:00
Daniel
1bac9e7f81
Merge pull request #138 from safing/fix/catch-dns-write-error
Improve resilience and logging in resolver and nameserver
2020-08-19 16:26:44 +02:00
Daniel
39aa3d0879 Improve resilience and logging in resolver and nameserver 2020-08-19 16:20:51 +02:00
Daniel
1da8b7148e Clean up domain resolving scopes
Switch to .17.home.arpa. for internal use
2020-08-17 16:51:18 +02:00
Daniel
4d667afd1d Add more timeouts to blocking calls in resolver 2020-08-14 12:33:06 +02:00
Daniel
caa9b3bdf9 Fix and improve resolver scoping 2020-07-27 12:26:45 +02:00
Daniel
9a7eb30d9a
Merge pull request #103 from safing/feature/simplify-dns-resolvers
Simplify dns resolvers
2020-07-21 16:46:16 +02:00
Daniel
2abe93c683 Fix mdns cache keys 2020-07-21 14:59:49 +02:00
Daniel
60607ef08b Improve logging 2020-07-21 14:59:41 +02:00
Daniel
dda7cdf7d0 Improve error handling 2020-07-21 14:59:14 +02:00
Daniel
7b40e83aec Removed pooled server and add plain resolver 2020-07-21 14:58:23 +02:00
Daniel
811516eec8 Update captive portal detection to work without server 2020-07-21 14:56:06 +02:00
Daniel
da121eb8af Try only using a single default resolver 2020-07-20 16:44:40 +02:00
Daniel
25a3f6053d Improve handling of failing dns resolvers 2020-07-20 16:42:21 +02:00
Daniel
8dea8e6c46 Fix and improve TTL handling 2020-07-20 16:40:47 +02:00
Daniel
68c2d23c1b Fix handling of connectivity / captive portal domains
Also, improve handling of queries during being captive.
2020-07-17 16:09:46 +02:00
Daniel
53e9d3dd47 Add dns cache clearing mechanisms 2020-07-16 16:29:25 +02:00
Daniel
047352f9b5 Implement review suggestions
Fix local. resolving in Firefox
2020-07-15 13:59:56 +02:00
Daniel
e369a9484a Improve captive portal handling 2020-07-15 08:53:55 +02:00
Daniel
ec637bdce8
Merge pull request #90 from safing/fix/post-factum-reviews-1
Implement Post Factum Review Suggestions
2020-07-14 15:26:47 +02:00
Daniel
383c019d0c Implement further feedback on the TCP Resolver 2020-07-14 12:54:05 +02:00
Daniel
941e234fa5 Update default dns servers
According to https://safing.io/blog/2020/07/07/we-are-updating-portmasters-default-dns-servers/
2020-07-12 22:17:11 +02:00
Daniel
834d2e326c Improve resolver netenv integration
From PR Review https://github.com/safing/portmaster/pull/83
2020-07-12 22:01:21 +02:00
Daniel
6298d1df30 Rework tcp resolver to make it cleaner
From PR Review https://github.com/safing/portmaster/pull/78
2020-07-12 21:47:46 +02:00
Daniel
96fcc6993c Fix panic in new tcp based dns resolver
Use service worker in order to survive future panics better
2020-07-08 16:06:20 +02:00
Daniel
cd19560956
Merge pull request #84 from safing/feature/standalone-resolver-testing
Make resolver testing configurable
2020-06-27 15:04:19 +02:00
Daniel
f80923baa4 Make resolver testing configurable 2020-06-27 14:50:14 +02:00
Daniel
881a757667 Fix netenv resolver interaction
Also fix endless loop in tcp resolver when network is down
2020-06-26 22:50:35 +02:00
Daniel
f7320d760d Add TCP/TLS pipelining dns resolver 2020-06-16 16:07:12 +02:00
Daniel
bb86496223 Fix correct shutdown of mdns packet listeners 2020-06-03 21:29:18 +02:00
Daniel
2248026365 Fix error detection if query was blocked by upstream 2020-05-28 10:04:05 +02:00
Daniel
c8223f1a63 Switch resolver pooling to use sync.Pool 2020-05-20 14:57:47 +02:00
Daniel
36c60a1e33 Reload resolver on config change 2020-05-20 14:57:33 +02:00