Hi everybody!
I need a little help with a Stubby issue. For an unknown reason Stubby needs an extra restart via Startup after the Booting of the rooter. Otherwise connection to the internet fails. Is there a way to automatise this via Scheduled Tasks? Is it a common issue?
So a decent trigger is set. This was the config all the time
/edit2
Here is what the log reads wenn stubby is disabled and stopped
Sun Nov 24 17:16:57 2024 daemon.err stubby[26094]: [16:16:57.794536] STUBBY: Read config from file /var/etc/stubby/stubby.yml[16:16:57.795581] STUBBY: Stubby version: Stubby 0.4.3
Sun Nov 24 17:16:57 2024 daemon.err stubby[26094]: [16:16:57.796550] STUBBY: DNSSEC Validation is OFF
Sun Nov 24 17:16:57 2024 daemon.err stubby[26094]: [16:16:57.797226] STUBBY: Transport list is:
Sun Nov 24 17:16:57 2024 daemon.err stubby[26094]: [16:16:57.797657] STUBBY: - TLS
Sun Nov 24 17:16:57 2024 daemon.err stubby[26094]: [16:16:57.798145] STUBBY: Privacy Usage Profile is Strict (Authentication required)
Sun Nov 24 17:16:57 2024 daemon.err stubby[26094]: [16:16:57.798695] STUBBY: (NOTE a Strict Profile only applies when TLS is the ONLY transport!!)
Sun Nov 24 17:16:57 2024 daemon.err stubby[26094]: [16:16:57.799163] STUBBY: Starting DAEMON.
There is an hour difference in time? Might this be the reason?
Well WAN was set as the trigger and caused she issue. I can try using "Lan" but does it make it any better? Are there other options? The "list xx" version in the linked thread would mean I could link it to both lan and wan? Or how my this help?
Most of the time you should link to your wan(s) only, because this is how you reach your DNS and NTP servers.
However, there is a possibility that your wan is up, but your local time is still wrong.
There is also another possibility that your wan is up but there is no Internet access for whatever reason (no credit, portal redirect, etc.).
Yep, set/raise the option 'triggerdelay' as well (next paragraph in the readme). Default is only 2 seconds and that might be not enough, e.g. on pppoe interfaces ...
Sorry to get the topic up again but I have not yet found a solution. I guess the discrepancy in time (between the router and Stubby?) might cause the issue with Stubby as you pointed out. What servers might work as regular insecure DNS? Now it is configured with the default openwrt NTP servers. Thanks again for any help.
Best
Friedrich
If you need correct time before DNS but configured the default OpenWrt server (i.e., a hostname), then you'll have the same issue.
Use an NTP server that permits you to setup its IP address. Then you'd no longer have the chicken-or-the-egg paradox of neeing correct time before your first secure DNS queries (i.e
which needs correct time) to reach the NTP servers by name (i.e. needing secure DNS with correct time).