Comments (7)
Which version of blocky do you use currently? Maybe #749 is relevant for you.
from blocky.
@0xERR0R v0.20 the latest stable release. Will take a look at #749, thanks.
from blocky.
@0xERR0R looks like there's still a little bit different, but maybe not important at all.
According to the document, here's the description of startVerifyUpstream
If true, blocky will fail to start unless at least one upstream server per group is reachable.
So looks like current policy is to check all the upstreams once to make sure at least one of them works, or check none of them, and then start to serve. What I'm thing about is still to check them all, but once any of upstreams is working, then start to serve, not to wait for the check completed.
from blocky.
If startVerifyUpstream
is true
, blocky exits directly if all of the upstreams fail.
The easiest way get the behavior you want, is to rely on whatever manages your blocky server (docker, systemd, etc.) to restart it if it fails. That way it will retry the startup checks until at least one upstream works.
To implement this behavior in blocky, we could change startVerifyUpstream
to accept something like retry
where it retries to startup regularly. But I'm not convinced that's a good fit for blocky.
Maybe just having a specific exit code for "startup checks failed" would be enough so that the process manager can be more intelligent about when to restart blocky.
from blocky.
Just leave a record that it takes about minutes starting to resolve queries if there are many upstream
from blocky.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from blocky.
Making Blocky test the resolvers in parallel could be a good improvement here.
We could also add a startStrategy
option where fast
would start immediately and use the bootstrap resolver (which defaults to the system resolver), and blocking
would be the current behavior.
Both of those should not be too hard after #998 is merged.
from blocky.
Related Issues (20)
- Split ParallelBest into "client groups" and "parallel" HOT 5
- Feature Request: Option to disable primary key on DNS query log database table HOT 2
- Configuration option "fqdnOnly" is not recognized HOT 1
- Feature Request: Block TLD HOT 4
- Feature Request: Log the name of the used blacklist HOT 3
- Can not parse domains HOT 1
- Blocky doesn't run on openwrt x86 build HOT 5
- Lists using ! for comments are now basically ignored HOT 1
- Console log lost its colors in v0.21 HOT 2
- cache problem HOT 7
- Question: response_type=SPECIAL (Unicast DNS-SD) HOT 2
- Support international domain names in lists (IDNA) HOT 1
- Improve list parsing error handling HOT 4
- just allow defined clientid's HOT 8
- REQUEST: Adblocker style of list HOT 6
- [Request] Create` upstream` field in the logs HOT 4
- NET::ERR_CERT_AUTHORITY_INVALID HOT 8
- context deadline exceeded HOT 4
- v0.21 binary release for Linux has a broken libc dependency on some systems HOT 6
- Too many parse errors using StevenBlack blocklist HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blocky.