"better to wait another month than this terrible script"
- I assume this thread is about Special:Diff/505851, which is from January 2018. Regid (talk) 23:31, 25 May 2019 (UTC)
User:Lahwaacz Please explain how the script is "terrible". It builds upon the one already suggested and is the only thing that works in a setup where one starts their network configuration manually when they want to connect to the internet, not automatically at boot.
- To begin with,
systemctl is-active email@example.com
activeeven if the ethernet cable is not connected. Second, the service should run once and then be done, not ping-pong with systemd every 2 minutes if the system is offline. Third, longish scripts belong to separate files instead of the
ExecStartline. Finally, if it still builds upon the one already suggested, you should just describe the differences instead of copy-pasting the timer etc. -- Lahwaacz (talk) 18:10, 4 January 2018 (UTC)
- In the scenario where the dhcpcd service is not enabled at boot and stays disabled for the user to manually start it, that would not be a problem. The service only repeats until it succeeds then it's done, otherwise it would always fail at boot because the system is offline. The script helps with delayed manual network configurations and is far from "terrible". Aside from the first two points, if the script was placed in a file and the differences placed in the article as an edit to be made to the original roothints.service, would it be acceptable? -- Wincraft71 (talk) 18:39, 4 January 2018 (UTC)
- If the dhcpcd service is not enabled and only started manually, one can also update the root hints manually. And note that for each restart of a service systemd writes several lines into its log so if the system is offline for 2 hours and the service restarts every 2 minutes, that's 60 log events, which is too much for a "normal" operation. Since you're devising such solution, surely 2 hours offline are not unusual - otherwise you could simply let the timer trigger at the time of the day which is always online. Let's continue when you deal with these. -- Lahwaacz (talk) 19:17, 4 January 2018 (UTC)
- Updating the root hints manually defeats the entire purpose of it being automatic. The time can be upped to 15 minutes which would make it only 8 log events which should be fine. Letting the timer trigger at a certain time of day is not dynamic, schedules can change and it should not be a fixed time. -- Wincraft71 (talk) 19:46, 4 January 2018 (UTC)
- There is no maximum offline time for a system, so it doesn't matter how large the restart timeout is - the service should start and wait on its own instead of returning to systemd. In any case, you need a better way to detect active internet connection. -- Lahwaacz (talk) 20:09, 4 January 2018 (UTC)
Two DNS servers are not inherently more secure than one
There is a template:accuracy at unbound#Adding an authoritative DNS server. Not put by me. I think it is arguable if running two DNS servers, one which will act as a resolver and the other as authoritative, is inherently more secure than running one providing all features. What I think is less arguable is that using diverse solutions across the internet as a whole is inherently more secure then using one prominent solution. Which is why lowering the share of BIND usage across the internet did made the internet more secure. Perhaps also making OpenBSD 5.7, which uses nsd + unbound in its base and offers BIND only via ports, more secure then 5.6. Regid (talk) 06:50, 26 May 2019 (UTC)